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
The following input schema:
type Book { library: Library! ... } type Library @entity { books: [Book!]! @derivedFrom(field: "library") ... }
incorrectly generates property as optional in library.model.d.ts:
library.model.d.ts
export declare class Library extends BaseModel { books?: Book[]; // this should be required property, but it's optional ... }
The similar issue seems to occur with variant's single relation:
type MyVariant @variant { book: Book! } // generating model export declare class MyVariant { book?: Book; ... }
The text was updated successfully, but these errors were encountered:
ondratra
No branches or pull requests
The following input schema:
incorrectly generates property as optional in
library.model.d.ts
:The similar issue seems to occur with variant's single relation:
The text was updated successfully, but these errors were encountered: