-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for sanity::documentsOf() #254
Conversation
src/evaluator/functions.ts
Outdated
if (value.type !== 'string') return NULL_VALUE | ||
const baseId = value.data | ||
|
||
// All the document belong to a bundle ID if: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// All the document belong to a bundle ID if: | |
// All the documents belong to a bundle ID if: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or "A document belongs to a bundle ID if:"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 022c7b2
@tzhelyazkova another review please. |
I approved the last time when I left that comment, so you don't have to depend on that to merge but idk what happened 😅 |
Add a new function
sanity::documentsOf()
which lists all the document IDs that are part of a given bundle ID in arg.