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

Generate all the lenses #113

Open
jisantuc opened this issue Jun 24, 2020 · 1 comment
Open

Generate all the lenses #113

jisantuc opened this issue Jun 24, 2020 · 1 comment
Labels

Comments

@jisantuc
Copy link
Contributor

Improvement

We end up copying items to update their links a lot. It's possible that with more use we'll end up copying them and other entities to update other things a lot as well. We can provide a distinct optics module that derives lenses for this sort of access.

Notes + Context

This will make available lenses in Franklin less ad hoc and make updates more consistent across places that use stac4s

@jisantuc jisantuc changed the title Create optics module for convenient, .copy-less access and modification Generate all the lenses May 13, 2021
@jisantuc
Copy link
Contributor Author

Since it's easy via macro annotation, we should intead use the @Lenses annotation to get all the lenses and prisms for free where we can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants