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

Implement sealed trait analysis and expose it in the adapter. #343

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

obi1kenobi
Copy link
Owner

@obi1kenobi obi1kenobi commented Aug 18, 2024

Make it possible to execute queries like:

{
    Crate {
        item {
            ... on Trait {
                name @output
                sealed @output
            }
        }
    }
}

Under the hood, the sealed property on the Trait vertex type does a fair bit of computation to determine whether the trait is sealed in a variety of ways.

@obi1kenobi obi1kenobi enabled auto-merge (squash) August 18, 2024 18:07
@obi1kenobi obi1kenobi enabled auto-merge (squash) August 18, 2024 18:09
@obi1kenobi obi1kenobi merged commit 3f1b3cb into rustdoc-v33 Aug 18, 2024
6 checks passed
@obi1kenobi obi1kenobi deleted the sealed_traits branch August 18, 2024 18:10
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

Successfully merging this pull request may close these issues.

1 participant