Skip to content
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

feat: make it possible to extend type data of schemas after registration. #250

Merged
merged 1 commit into from
Oct 23, 2023

Commits on Oct 23, 2023

  1. feat: make it possible to extend type data of schemas after registrat…

    …ion.
    
    This replaces the `SchemaTypeMap` with a new `TypeDatas` type that can
    have new type datas registered while only requring a read-only reference
    allowing the type datas of already-registered schemas to be updated.
    
    This allows for a pattern similar to Rust's traits where a new crate that
    can create their own type data type, and register it for foreign types.
    zicklag committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    d8a7a65 View commit details
    Browse the repository at this point in the history