-
Notifications
You must be signed in to change notification settings - Fork 60
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
Consider using makeFields, not makeLenses #39
Comments
yea, this would be really cool, as long as we don't have any overlapping lenses. In that case it might be best to make a typeclass that contains a lens. (example: if |
@dmjio |
oh that's beautiful, for some reason I was thinking of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HasParamSchema
will still be useful.makeFields
should shorten many names inData.Swagger.Lens
.For example it would turn this code:
into
@dmjio what do you think? Would this simplify customizing spec by a significant ammount?
The text was updated successfully, but these errors were encountered: