Abilty to include metaobject definition in a separate file

I was wondering if it would be possible in the future to split metaobject definitions into a separate file from shopify.app.toml.

For example, we could have a file like shopify.metaobjects.metaobject-name.toml.

I have several metaobject definitions with references between them, and it’s quite difficult to keep track of everything quickly. Let alone for a peer who has to review my code.

Hey @Dylan-GJ - thanks for raising this.

I see where you coming from here, especially when you have a lot of definitions with references between them. I’ve submitted a feature request on your behalf so the use case is captured. There are no guarantees here, but I’ve made sure that the right eyes are seeing this feedback.

Hope this helps!