Get metaobjects in functions

Topic summary

Metaobject access within functions—specifically in a cart transformer—was asked about. The goal is to retrieve metaobject information inside a function.

  • Current support: Not available. A team member states metaobjects are not supported in functions yet.
  • Roadmap: Planned for future releases, but with tentative phrasing (“should be”). No timeline provided.
  • Clarification requested: Another participant asks whether this is a firm commitment (“will be”) versus expectation (“should be”).

Outcome: No definitive answer on commitment or timing. The feature appears intended but unconfirmed in terms of guarantees and schedule. Discussion remains open with no immediate workaround mentioned.

Summarized with AI on December 19. AI used: gpt-5.

How can I get metaobject information in functions (specifically cart transformer)? Is that possible?

Hi - metaobjects are not supported on functions yet, however it should be in future releases.

Cheers @Liam . Are we talkingshould be or will be? :grinning_face_with_smiling_eyes: I know, it’s just semantics, but it can be a pretty big difference sometimes! Either way, looking forward to when it happens.