pg types enforce users to define query config values as array of any #68869
Replies: 2 comments 1 reply
-
Hi, we could not find a reference to the types you are talking about in this discussion. E.g.
By doing this, I can ping the folks who maintain the types you are referring to. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed by #68871 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the current types if you want to wrap the query method of the
pg.Client
into your own method and also want to pass theI
(query config values) generic parameter, you are forced to useI extends any[]
.But this is not necessary, there is another way to enforce the array (and tuple) type.
Beta Was this translation helpful? Give feedback.
All reactions