-
Notifications
You must be signed in to change notification settings - Fork 4
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
✨ colleciton by Id in #49
Conversation
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.
small
Co-authored-by: Viki Val <[email protected]>
Co-authored-by: Viki Val <[email protected]>
any idea how to achieve that? |
I would like to rewrite |
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.
prob change impl
Also pls merge main |
Works import { getClient } from './dist/index.mjs'
const client = getClient('ahp')
const query = client.collectionByIdIn('1,13,163,171')
const result = await client.fetch(query)
console.log(result) Does not work import { getClient } from './dist/index.mjs'
const client = getClient('ahp')
const query = client.collectionByIdIn(['1', '13', '163', '171'])
const result = await client.fetch(query)
console.log(result) cc @roiLeo one more fix plz |
route is ugly but it's working
collectionListByIdIn
#48// TODO:
id: string[]