Open SachaG opened 6 years ago
I know I can have blackbox fields by writing blackbox: true. My question is, how can I achieve the same thing but with a custom type instead, i.e. by writing type: MyCustomType? How should I write this custom type?
blackbox: true
type: MyCustomType
Does the section on Subschemas in the docs answer your question? https://github.com/aldeed/simple-schema-js#subschemas
Not really, no.
I know I can have blackbox fields by writing
blackbox: true
. My question is, how can I achieve the same thing but with a custom type instead, i.e. by writingtype: MyCustomType
? How should I write this custom type?