Skip to content

Handle Undefined Attributes with TypeScript #446

Answered by Minigugus
bestickley asked this question in Q&A
Discussion options

You must be logged in to vote

I thought sql insert helpers calls where already accepting undefined... It seams I was wrong 😕 Actually, it's not an issue with the undefined transform, but with the insert helper on objects that has some undefined properties (it does matter whether or not undefined calls are transformed to somethinhg else in this case, as undefined properties could just be ignored when encoded anyway).

#447 should fix that 👍

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bestickley
Comment options

Answer selected by bestickley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants