Skip to content

Drizzle plugin - use drizzle objects as type nested in a regular query response. #1341

Closed Answered by olup
olup asked this question in Q&A
Discussion options

You must be logged in to vote

ok, @hayes, found the bug. I think this line:

[entry.models.keys()].map(([model]) => this.sqlForModel(model)),

should read : [...entry.models.keys()].map((model) => this.sqlForModel(model))

Replies: 3 comments 1 reply

Comment options

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

Comment options

You must be logged in to vote
0 replies
Answer selected by hayes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants