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
Currently, the GetSchema method in JSchemaGenerationProvider is abstract. This makes it harder to implement a custom provider, because you can't simply call base.GetSchema(context); and add something on top of that.
As a workaround, I now implemented the custom provider as follows:
Note that the workaround does not work when creating a schema for an object with nested entities, because then the custom generation provider is only applied to the root object.
The text was updated successfully, but these errors were encountered:
Currently, the
GetSchema
method inJSchemaGenerationProvider
is abstract. This makes it harder to implement a custom provider, because you can't simply callbase.GetSchema(context);
and add something on top of that.As a workaround, I now implemented the custom provider as follows:
It would be nice if this could be simplified to:
Note that the workaround does not work when creating a schema for an object with nested entities, because then the custom generation provider is only applied to the root object.
The text was updated successfully, but these errors were encountered: