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

schema builder fluency #465

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JoshMcCullough
Copy link

Replacement for: #390


Breaking Changes

Schema.Builder needs to return the subclassed builder instance rather than Builder<S> in order to allow for fluency while building schemas. See related issue.

Note: I also renamed ConstSchema.ConstSchemaBuilder to just Builder to match the other builders for consistency. I can pull this change back out if you don't want it. Since this PR is already a breaking change, I figured it made sense.

@JoshMcCullough
Copy link
Author

@erosb I re-created this PR from a different branch. The original PR is linked for posterity. I'd still like to get this in the official repo!

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.

None yet

1 participant