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
v8: Make TypeCollectionBuilderBase chainable #5350
Comments
would totally make sense indeed. Would it be a breaking change? Guess yes... 8.1 then? |
I don't think so as all Add / Remove methods are currently return |
ie, yes the signature is changing, but because they didn't return anything before, I think it's ok to now make them return something. |
fancy a PR? :-) |
@zpqrtbnk would love to if I wasn't spending all my time v8-ifying TC 😁 |
PR #5354 |
Have merged, it's marked as breaking (since the generic signature changes) but expect this will affect a very very tiny amount of people |
When composing collections, most of the CollectionBuilderBase classes are chainable such that you can chain add / remove commands in a fluent manor. For some reason though this doesn't appear to be possible with the TypeCollectionBuilderBase. I think this should be made consistent with the other base classes and allow a similar API.
The text was updated successfully, but these errors were encountered: