-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
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
Entity catalogue: Service Instance Wall Fix #1 #3670
Entity catalogue: Service Instance Wall Fix #1 #3670
Conversation
…ity-catalogue-store-service-wall-2
✅ Hey richard-cox! The commit authors and yourself have already signed the CLA. |
@@ -56,6 +57,8 @@ export class StratosBaseCatalogueEntity<T extends IEntityMetadata = IEntityMetad | |||
* If no schemaKey is provided then the default schema will be returned | |||
*/ | |||
public getSchema(schemaKey?: string) { | |||
// TODO: schemaKey - ensure wherever this is called it contains the correct schemaKey (with respect to any config | |||
// EntityCatalogueEntityConfig that may use a schemeKey different than that provided by entityCatalogue.getEntity's) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to run through usages and check that the correct schemaKey is used. Think is most cases this should come from an EntityCatalogueEntityConfig
object (whether the schema key is populated or not). We then need to ensure that this has the correct schema key when different from the default one (for service instances schemas with/without space, everything related to this issue is marked with a // TODO: schemaKey
).
// TODO: schemaKey
serviceInstancesWithspaceEntityType
typo