-
Notifications
You must be signed in to change notification settings - Fork 15
Potential gaps in 0.x to 1.x migration guide #337
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgroqd-v0-legacyRelated to the legacy `v0.x` packageRelated to the legacy `v0.x` packagegroqd-v1Related to the newer `v1.x` packageRelated to the newer `v1.x` packagemigration-to-v1Help for migrating from v0.x to v1.xHelp for migrating from v0.x to v1.x
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgroqd-v0-legacyRelated to the legacy `v0.x` packageRelated to the legacy `v0.x` packagegroqd-v1Related to the newer `v1.x` packageRelated to the newer `v1.x` packagemigration-to-v1Help for migrating from v0.x to v1.xHelp for migrating from v0.x to v1.x
Is there an existing issue for this?
Code of Conduct
Question
Hi there,
Thanks for the work on this.
I'm inheriting a project from another agency and they're using groqd 0.x.
I'm looking to migrate to 1.x but struggling on a couple areas, and I can't see guidance on migrating them in the current 0.x to 1.x guide.
I wanted to note a few things that seem to be missing, and ask for advice on migrating them:
sanityImage. Is the expectation to write our own fragment for this now? All good if so, I just can't find an answer in the docs. I looked here but seems there's currently still an issue so wasn't sure what I should be doingq("").grab$()in the codebase. Does this now become justq.project()?.filter(), howeverfilter()requires now 1 parameter—how is this migrated? E.G. from the old docsq("types").filter().deref().grab({ name: q.string() }),Selection,InferTypeandTypeFromSelection, which are no longer exported. What's the migration path for these?I apologise if any of these should be obvious. I'm new to Groqd.