Skip to content

schema builder fluency #465

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant