currently I have this in my app:
@ObjectType()
export class OrganisationFeatures extends ConstructorAssigner {
@Field() campaigns: boolean
@Field() custom_email_sender_address: boolean
@Field() OKTA_SAML: boolean
@Field() search_analytics: boolean
@Field() SCORM: boolean
@Field() custom_font: boolean
}
@InputObjectType()
export class OrganisationFeaturesInput extends ConstructorAssigner {
@InputField() campaigns: boolean
@InputField() custom_email_sender_address: boolean
@InputField() OKTA_SAML: boolean
@InputField() search_analytics: boolean
@InputField() SCORM: boolean
@InputField() custom_font: boolean
}
I'd love to be able to define both at once doing:
@DuplexObjectType() // using a special type I can register both at once
export class OrganisationFeatures extends ConstructorAssigner {
@Field() campaigns: boolean
@Field() custom_email_sender_address: boolean
@Field() OKTA_SAML: boolean
@Field() search_analytics: boolean
@Field() SCORM: boolean
@Field() custom_font: boolean
}
currently I have this in my app:
I'd love to be able to define both at once doing: