-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future proof schema API #46
Comments
current issue is great detail on #51 's sub-issue |
@frol https://gist.github.com/dj8yfo/da468206a03feca6d08698cbfc868ea0 |
@dj8yfo Do you mean canonicity enforcement (#160) when say "container ser/de guarantee"? Can you shed some light on why it matters here? https://gist.github.com/dj8yfo/da468206a03feca6d08698cbfc868ea0#file-f_p_schema_api-rs-L139-L174 - This interface looks good to me (I would only ask not to shorten the names to "*_def", instead, use a full word |
@frol No, i mean, that the container In gist i've removed derived implementations of I missed to do the same for |
taking this issue |
Currently this is a public type:
This is ungreat -- all public fields make it impossible to make any kind of change to this structure. See #45 for example of the change we might want to do here (replacing HashMap with a BTreeMap to avoid hashbrown).
We should make it possible to change the internal representation without breaking public API, but that itself would necessitate a semver break.
The text was updated successfully, but these errors were encountered: