Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Support for . name spacing in field object name #258

Open
tomjamesallen opened this issue Mar 14, 2022 · 0 comments
Open

Support for . name spacing in field object name #258

tomjamesallen opened this issue Mar 14, 2022 · 0 comments

Comments

@tomjamesallen
Copy link

I've been trying to get codegen up and running with the Sanity Connect for Shopify starter and I'm running into some issues. Some of the object definitions contain periods to namespace fields e.g. seo.singleton. When used to create type names this is throwing a syntax error.

Screenshot 2022-03-14 at 07 37 22

Screenshot 2022-03-14 at 07 37 32

Is it possible to add support for converting . in field names to an underscore or dropping it all together to avoid this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant