Replies: 2 comments
-
How can I fetch Set values as an array? In v1 I used to get an Array but in v3 I am getting a Set Object |
Beta Was this translation helpful? Give feedback.
0 replies
-
anyone here? |
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
-
Our team is working on migrating our application from v1 to v3 currently.
We were using String Set in the schema like this:
{ type: [String], default:[] }
, I understand that the syntax has changed now, so by referring to the changelog we updated the schema to use{type: Set, schema: [String], default:[] }
but this throws the following error:Error: Pass a non-empty set, or options.convertEmptyValues=true.
How can we define a String Set with blank default value?
I tried using
default:['']
but that adds a single empty value to all sets as expected.Beta Was this translation helpful? Give feedback.
All reactions