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

add record_type and schema_version_from_record #78

Merged
merged 1 commit into from
Dec 31, 2022
Merged

Conversation

jrevels
Copy link
Member

@jrevels jrevels commented Dec 31, 2022

These are useful for building semi-generic functionality/harnesses atop suites of known Legolas.SchemaVersions.

Note that this purposefully does NOT define/expose a function like schema_version_from_record_type(::Type{T<:AbstractRecord})::SchemaVersion (though there is an underscore-prefixed function like this that Legolas needs for its own internal codegen usage). We do not intend on exposing this kind of function for reasons similar to those articulated here.

@jrevels jrevels changed the title add record_type and schema_version_from_record add record_type and schema_version_from_record Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant