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
I'm encountering an issue when using typeorm-fixtures-cli to insert data that contains keys or columns starting with double underscores (__). Specifically, the insertion fails, and I suspect it might be related to how TypeORM or the underlying database handles these keys.
Steps to Reproduce:
Create a fixture with a key that starts with __. For example:
yaml
Copier le code
EntityName:
entity_1:
__myKey: "SomeValue"
anotherField: "AnotherValue"
Run typeorm-fixtures-cli to load the fixture into the database.
Observe that the insertion fails with an error.
Expected Behavior:
The data should be inserted without issues, regardless of whether the keys or columns start with double underscores.
The text was updated successfully, but these errors were encountered:
Your Environment
I'm encountering an issue when using typeorm-fixtures-cli to insert data that contains keys or columns starting with double underscores (__). Specifically, the insertion fails, and I suspect it might be related to how TypeORM or the underlying database handles these keys.
Steps to Reproduce:
Create a fixture with a key that starts with __. For example:
yaml
Copier le code
EntityName:
entity_1:
__myKey: "SomeValue"
anotherField: "AnotherValue"
Run typeorm-fixtures-cli to load the fixture into the database.
Observe that the insertion fails with an error.
Expected Behavior:
The data should be inserted without issues, regardless of whether the keys or columns start with double underscores.
The text was updated successfully, but these errors were encountered: