Jasonzyt
Jasonzyt
In my case, I only need single file CSV support. I agree with you, so documentation should be updated. My PR can implement single CSV support, but tbh some logic...
> And the facts prove this point: after installing the latest package, errors occurred. In my case ```ts const { data } = await useAsyncData("albumsMeta", () => { return queryCollection("albumsMeta").order("updated",...
Here's my repo: https://github.com/Jasonzyt/gallery
@tazim404 Try `https://pkg.pr.new/@nuxt/content@c1cefd2` ? [c1cefd2](https://github.com/nuxt/content/pull/3513/commits/c1cefd22a3dcfc8406f1e0ab54692e8a920fb408) works for me but the later changes broke it
> @Jasonzyt There was a mistake in a string, should be good now. Try with `https://pkg.pr.new/@nuxt/content@0f6d610` @farnabaz Still the same bug behaved like #3511
Okay, I found the problem: You can't use `**.csv` in the content.config.ts ```diff export default defineContentConfig({ collections: { albumsMeta: defineCollection({ type: "data", + source: "test.csv", - source: "test/**.csv", schema: z.object({...
@farnabaz It seems there's some bug parsing multiple .csv files Single .csv file works well The currently behavior is not matched with the newly updated docs.
@farnabaz Okay now I understand everything. Sry for my misunderstand of your newly updated docs. TBH some code is really confusing. I spent hours reading it and finally figured it...
same problem
i'm looking into this bug. I will submit a PR later.