Arek Mazurkiewicz

Results 16 comments of Arek Mazurkiewicz

@datner it looks like the drizzle team did not even look at the pr, what do you think we should do with this? maybe try to merge it into `@effect/sql-drizzle`?...

in my point of view these structures should only have fields parsed as `string[]`, never as a single value, as at the time of parsing you can never know if...

validation with your schema ‘MyForm’ will fail if there is only one element in the ‘subthingId’ which would be a perfectly valid one element array, unless you plan to include...

that's exactly what I mean, the canonical shape should be `string[]`, every field is a list of one or more values

so how would you see parsing a field? let's see: single value ```typescript const sp1 = new URLSearchParams([['a', 'a'], ['a', 'b']]) const s1 = Schema.Struct({ a: Schema.String }) parseSearchParams(s1)(sp1) //...

ah, ok, I see, the issue is, I'm assuming that the search params are parsed before they are decoded, as you saw the schema, has to take a `Record`, which...