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: Create schema extension on T::Struct #18

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

maxveldink
Copy link
Owner

@maxveldink maxveldink commented Feb 27, 2024

  • Adds a .create_schema convenience methods on T::Structs for generating schemas from them.

This is not autoloaded, it will need to be specifically required via sorbet-schema/struct_ext.rb

@maxveldink maxveldink changed the title Create schema extension on T::Struct feat: Create schema extension on T::Struct Feb 27, 2024
@maxveldink maxveldink merged commit 1f335b7 into main Feb 27, 2024
4 checks passed
@maxveldink maxveldink deleted the mv/create-schema-ext-on-structs branch February 27, 2024 19:06
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