Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Named reference types #192

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

refactorized
Copy link

This is a first pass effort at addressing #191. This solution involves treating top-level (no parents) references differently. I have tested this and found its output consistent with the structure sanity returns.

I have not written tests yet, as I imagine we would want to maybe clean up the formatting of the output. Also generics are not created for each type in the to array like normal references. I am not sure what the best way to accomplish that is.

refactorized pushed a commit to refactorized/sanity-codegen that referenced this pull request Dec 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant