Replies: 1 comment
-
I am not sure what
I find it more convenient to define primary keys as single-field records instead:
NB: I am learning to use beam for just a week, there may be better idioms. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to define a servant endpoint returning an entity by primary key.
If
id
type is hardcoded as Int32 then the following snippet type checks:but
I guess it is expected, so how get pure Int32 out of beam table type?
Beta Was this translation helpful? Give feedback.
All reactions