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
I notice that the UnionSchema and its method new is private, and thus cannot be accessed in order to create a union's schema directly. By that I mean: without passing a string, but instead creating a schema by composing schema::Schema types.
Is this on purpose?
The text was updated successfully, but these errors were encountered:
No, there isn't much of a reason for the new method to be pub(crate) while the other methods and the struct are actually public (the fields are not and I'd like to keep them that way, as one day we might want to fully support named types in unions and they will likely need to change). Would you like to do the change yourself?
I notice that the
UnionSchema
and its methodnew
is private, and thus cannot be accessed in order to create a union's schema directly. By that I mean: without passing a string, but instead creating a schema by composingschema::Schema
types.Is this on purpose?
The text was updated successfully, but these errors were encountered: