elierotenberg / directus-typescript-gen

98 stars 12 forks source link

1.0.0 produces Schema collections as arrays instead of singular items #6

Open petrosmm opened 4 months ago

petrosmm commented 4 months ago

After upgrade from 0.2.1 to 1.0.0 the generator produces the Schema as array multiples instead of individual objects... My directus version is 10.11.0. Is this intentional and does the SDK respond to this? Thoughts?

image