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

Replace transformation functions with Optics #7

Open
kierans opened this issue Jul 11, 2023 · 0 comments
Open

Replace transformation functions with Optics #7

kierans opened this issue Jul 11, 2023 · 0 comments
Assignees
Labels
@api-sdk-creator/generator Tag for the @api-sdk-creator/generator module

Comments

@kierans
Copy link
Member

kierans commented Jul 11, 2023

Currently the generator uses a set of transformation functions to transform the API spec into an AST for code generation eg: inlining references.

Using Optics (lenses) is a better way of achieving the same outcome but in a simpler, more composable fashion.

See more

@kierans kierans self-assigned this Jul 11, 2023
@kierans kierans added the @api-sdk-creator/generator Tag for the @api-sdk-creator/generator module label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@api-sdk-creator/generator Tag for the @api-sdk-creator/generator module
Projects
None yet
Development

No branches or pull requests

1 participant