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
Unfortunately, the method parsecanon() in make_entity.js is handling it with a regular expression considering '-' as the empty value of one part of the canon. So the canon which should be
By the way, the acceptable character set per zone/base/name are dependent of the underlying database.
So I would recommend to make the different part of the regular expression customizable in order to simplify the integration of seneca-entity on existing databases.
The text was updated successfully, but these errors were encountered:
The code below should create a collection: 'base_collectionName' in the database associated with zone 'foo-bar'.
Unfortunately, the method parsecanon() in make_entity.js is handling it with a regular expression considering '-' as the empty value of one part of the canon. So the canon which should be
is not parsed like that and produces
I recommend to change the regular expression used in parsecanon as follow to workaround this issue:
By the way, the acceptable character set per zone/base/name are dependent of the underlying database.
So I would recommend to make the different part of the regular expression customizable in order to simplify the integration of seneca-entity on existing databases.
The text was updated successfully, but these errors were encountered: