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

Relation/struct named fields #18

Open
Z-snails opened this issue Feb 23, 2022 · 1 comment
Open

Relation/struct named fields #18

Z-snails opened this issue Feb 23, 2022 · 1 comment

Comments

@Z-snails
Copy link

Currently relations only support tuple structs, named field structs would be good for documentation purposes.
I would certainly think it would be useful to use the input structs in non-crepe code, as it could be clearer than anonymous tuples.

@ekzhang
Copy link
Owner

ekzhang commented Feb 25, 2022

Hi, thanks for the suggestion. This is possible but also would require quite a few substantial changes to how the compiled code is generated, in particular the index data structure would need to be updated, and more parsing logic for relations introduced.

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

No branches or pull requests

2 participants