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

Add support for aeson's fieldLabelModifier and constructorTagModifier #18

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

Conversation

carymrobbins
Copy link
Member

Support (internally) for an extensible StringModifier type class which can be used to represent functions for use with fieldLabelModifier and constructorTagModifier and the type level.

Exposes FieldLabelModifier and ConstructorTagModifier as new constructors for AesonOption along with some potentially useful combinators in Data.Override.Aeson.Options.StringModifier.

While users could in theory create their own StringModifier types since this model is extensible, the API for doing so currently exists in an Internal module until we've proven this out to be stable enough to be made part of the public API.

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.

1 participant