Replies: 1 comment
-
Hi @kheiner, Thank you for your comment! As mentioned in discussion #271, we plan to rewrite the entire module in the coming months. If you have any suggestions, feedback, or feature requests, please share them there. This way, the contributors working on the new module can easily access all the relevant information in one thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
fields
param is not transformed on any request requiring the user to pre-format the strings within the array. Thefilter
anddeep
params are passed as objects and addressed throughJSON.stringify()
leading to the assumption that you can pass an objects into thefields
array.nuxt-directus/src/runtime/composables/useDirectusItems.ts
Lines 18 to 23 in 067b243
The directus/sdk handles this with a util that runs through the array to build the string.
Does it make sense to copy a similar util for this project or better to provide more details about how
fields
must be formatted in a unique way similar but not exactly the same as found in the directus docs for REST?nuxt-directus/docs/content/2.composables/8.useDirectusItems.md
Line 9 in 067b243
Beta Was this translation helpful? Give feedback.
All reactions