You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArraySchemas cannot be set to other ArraySchema objects from within a constructor.
Eg.
vararraySchemaToSet=newArraySchema<test>();//code adding stuff to arraySchemaToSetsampleTestSchema=newtestSchema({sampleArraySchema: arraySchemaToSet});
sampleTestSchema.sampleArraySchema would be empty, instead of being equal to arraySchemaToSet.
This appears to be a bug, setting the ArraySchema outside a constructor appears to work fine.
Eg.
vararraySchemaToSet=newArraySchema<test>();//code adding stuff to arraySchemaToSetsampleTestSchema=newtestSchema({});sampleTestSchema.sampleArraySchema=arraySchemaToSet;
sampleTestSchema.sampleArraySchema is correctly set to arraySchemaToSet.
The text was updated successfully, but these errors were encountered:
ArraySchemas cannot be set to other ArraySchema objects from within a constructor.
Eg.
sampleTestSchema.sampleArraySchema would be empty, instead of being equal to arraySchemaToSet.
This appears to be a bug, setting the ArraySchema outside a constructor appears to work fine.
Eg.
sampleTestSchema.sampleArraySchema is correctly set to arraySchemaToSet.
The text was updated successfully, but these errors were encountered: