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

LeafCache is public but not implementable #94

Open
MFranceschi6 opened this issue Oct 27, 2021 · 0 comments
Open

LeafCache is public but not implementable #94

MFranceschi6 opened this issue Oct 27, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@MFranceschi6
Copy link

Is your feature request related to a problem? Please describe.
I'd like to implement a custom LeafCache

Describe the solution you'd like
Have read access to LeafAST fields that need to be cached

Describe alternatives you've considered
Have LeafAST conform to Codable and have the field name public.
I suppose the effort to have LeafAST conforms Codable to not be too much problematic thanks to the introduction of the Codable enums in swift 5.5

Additional context
LeafCache is not implementable because LeafAST doesn't even have the field name public which is how LeafCache requires to store the leafAST.
It won't be enough to have it public because we don't have access to the others fields.

@MFranceschi6 MFranceschi6 added the enhancement New feature or request label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant