We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
The graphql schema does not include all used definitions. For example, using the Profile schemata, the graphql type does not contain social_accounts.
social_accounts
type Profile { # age: Int # body: String # company: String # first_name: String! # id: String! # image: String # last_name: String! # title: String }
I'm using the following schemata (copied from the dogfood folder):
{ _schema: { name: "Profile" namespace: "schemas.cueblox.com" } #Profile: { _dataset: { plural: "profiles" supportedExtensions: ["yaml", "yml", "md", "mdx"] } first_name: string @template("Forename") last_name: string @template("Surname") age?: int @template(21) company?: string @template("CueBlox") title?: string @template("Cue Slinger") body?: string @template("Required") image?: string social_accounts?: [...#TwitterAccount | #GitHubAccount | #MiscellaneousAccount] } #TwitterAccount: { network: "twitter" username: string @template("twitter-handle") url: *"https://twitter.com/\(username)" | string } #GitHubAccount: { network: "github" username: string @template("github-handle") url: *"https://github.com/\(username)" | string } #MiscellaneousAccount: { network: string @template("some_network") url: string @template("https://some_url") } }
The text was updated successfully, but these errors were encountered:
There's definitely a few things omitted when running blox serve
blox serve
Unfortunately, I've not found a way with the CUE API to get the IncompleteKind for a disjunction like this.
IncompleteKind
I've reached out to the CUE team for advice
CC @myitcv @mpvl
Sorry, something went wrong.
@rawkode
Please can you clarify what the question to us is here? Or am I missing it in some other channel? Thanks
@myitcv I'll show you this afternoon. We discussed on Slack.
For posterity, I'll add the reproducer to this issue when I'm in the office too.
No branches or pull requests
Hi
Bug
The graphql schema does not include all used definitions. For example, using the Profile schemata, the graphql type does not contain
social_accounts
.I'm using the following schemata (copied from the dogfood folder):
The text was updated successfully, but these errors were encountered: