Skip to content

AOT Static Deserialization using mutiple Static Contexts #1065

@AlexandraDorey

Description

@AlexandraDorey

Is your feature request related to a problem? Please describe.
Have some a situation where I'd like to provide the static context with the classes to be incorporated that are part of a larger yaml config file I'm parsing.

Describe the solution you'd like
would like the StaticDeserializazitonBuilder to accepts a list of contexts and/or be able to add additional contexts via something like "WithStaticContext" following the other patterns in the library

Describe alternatives you've considered
I've written a StaticContextBuilder that can combines multiple static contexts and handles deserialization by iterating through the different contexts factories etc, it's kinda gross though and a more built-in solution would nice.

Additional context
This was discussed in this issues, but I as far as I can tell it was never implemented
#740 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions