We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc91638 commit e0514b4Copy full SHA for e0514b4
1 file changed
packages/components/src/internal/components/entities/models.ts
@@ -360,8 +360,8 @@ export class EntityIdCreationModel extends Record({
360
};
361
}
362
363
- getSchemaQuery(): SchemaQuery {
364
- const entityTypeName = this.getTargetEntityTypeValue();
+ getSchemaQuery(targetQueryName?: string): SchemaQuery {
+ const entityTypeName = targetQueryName ?? this.getTargetEntityTypeValue();
365
return entityTypeName ? new SchemaQuery(this.entityDataType.instanceSchemaName, entityTypeName) : undefined;
366
367
0 commit comments