FormidableLabs / groqd

A schema-unaware, runtime and type-safe query builder for GROQ.
https://commerce.nearform.com/open-source/groqd
MIT License
230 stars 16 forks source link

groq-builder: fixed a type issue with `project` #266

Closed scottrippey closed 6 months ago

scottrippey commented 7 months ago

Description

When using the built files, the project method was causing a TypeScript error, like: image

This has been fixed, and unit tests added.

Fixes #266 ;)

Type of Change

How Has This Been Tested?

Checklist: (Feel free to delete this section upon completion)

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **groqd** | ⬜️ Ignored ([Inspect](https://vercel.com/formidable-labs/groqd/5F7QCUwvxRCJtmYEKphn9W92zMsb)) | [Visit Preview](https://groqd-git-fix-project-errors-formidable-labs.vercel.app) | | Mar 13, 2024 2:17pm |
changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: d0adda39f95653e5f9ba9fa61ec85096fb381835

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------ | ----- | | groq-builder | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR