Slice Machine underscore naming _ creates conflicts with GraphQL compatibility

Hi @Phil,

Actually there is a new breaks with v4.1 that the upgrade will cause:

  • Custom Types and Slices IDs will be created using "_" instead of "-" for GraphQL compatibility
  • New fields IDs will be created using "_" instead of "-" for GraphQL compatibility

The are labelled as small fixes, yet they are really breaks.

I'm using re-useable components and variants. So, if I create new custom types, slices or even just variants, the id's will be incompatible to the old ones and the only way out is to refactor the code to either accept old and new or to recreate all old custom types and slices, etc - as well as all documents to have a single standard.

Thanks

I'm investigating this now and will get back to you once I know more.

Thanks.