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
In LB3, the type of the primary key is determined by the connector. The MongoDB connector defines the type as ObjectID, using a class provided by MongoDB (bson module).
We need to improve the importer to detect ObjectID properties and convert them to LB4 format.
This task depends on #3810LB3 model import: preserve connector-specific metadata in property definitions, because we need to define connector-specific metadata.
Acceptance criteria
Implement conversion of primary key (id) properties
Check how are foreign keys handled, implement conversion for them too if needed
Consider converting all properties with ObjectID type, regardless of whether they are PK/FK or not
if we see the property as ObjectID, we convert it to the appropriate mapping.
Update Importing-LB3-models.md, remove the relevant point from the list of known limitations
The text was updated successfully, but these errors were encountered:
This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.
In LB3, the type of the primary key is determined by the connector. The MongoDB connector defines the type as
ObjectID
, using a class provided by MongoDB (bson
module).Conceptually:
In LB4, we treat
ObjectID
values differently:string
ObjectID
data-type for this propertyWe need to improve the importer to detect
ObjectID
properties and convert them to LB4 format.This task depends on #3810 LB3 model import: preserve connector-specific metadata in property definitions, because we need to define connector-specific metadata.
Acceptance criteria
Implement conversion of primary key (id) propertiesCheck how are foreign keys handled, implement conversion for them too if neededConsider converting all properties withObjectID
type, regardless of whether they are PK/FK or notImporting-LB3-models.md
, remove the relevant point from the list of known limitationsThe text was updated successfully, but these errors were encountered: