You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Reflector struct should be replaced with a set of option functions provided at run time. This a more idiomatic approach and results in an immutable configuration for each reflection invocation.
The objective is to end up with something like this:
One thing that I changed compared to your example is that I renamed AllowAdditionalProperties into WithAdditionalPropertiesAllowed because I prefer having all options starting with With, it makes life easier when using an IDE IMO 😅.
The current
Reflector
struct should be replaced with a set of option functions provided at run time. This a more idiomatic approach and results in an immutable configuration for each reflection invocation.The objective is to end up with something like this:
Shared options can be assigned to an array:
The text was updated successfully, but these errors were encountered: