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
{{ message }}
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.
If the content type id is in the form of foo-bar, the migration src created would have defined constants in the same fashion, i.e: const foo-bar = migration.createContentType('foo-bar') which obviously isn't semantically correct
I blame Contentful since obviously they allow dashes in id even though their web UI says otherwise:
SS/case 1: special chars not allowed, and rightfully so, notice error message says only letters numbers and underscores allowed
SS/case 2: dashes are accepted
The text was updated successfully, but these errors were encountered:
I also had an issue with trying to bootstrap existing content types. The ones that had dashes in the id (for example sort-text)failed and it was't easy to debug why. The error looked like this:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If the content type id is in the form of
foo-bar
, the migration src created would have defined constants in the same fashion, i.e:const foo-bar = migration.createContentType('foo-bar')
which obviously isn't semantically correctI blame Contentful since obviously they allow dashes in id even though their web UI says otherwise:
SS/case 1: special chars not allowed, and rightfully so, notice error message says only letters numbers and underscores allowed
SS/case 2: dashes are accepted
The text was updated successfully, but these errors were encountered: