-
-
Notifications
You must be signed in to change notification settings - Fork 57
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 apply method for constructing CustomTag and CustomAttributes #318
Conversation
Since the |
As agreed on Gitter, I'm doing an apply in the companion and we'll think about it. |
29fe37b
to
4d7136c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM! I think the apply
method should probably be the recommended style going forward, so could you update the docs to use it?
Comments addressed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last thing (apologies for the repeated back-and-forth), could you add a line to the changelog for this?
No worries. Fixed |
I couldn't think of a case where we would need multiple instances of these with the same
name
, so it sounds like it should be case classes.