Skip to content

Query about key decorator @key #4287

Closed Answered by bterlson
xw695 asked this question in Q&A
Aug 28, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Key conceptually flags the fields which identify the resource, but doesn't imply any special behavior for that type within an array. You can maybe get what you want by doing:

op calculation(): Record<MyCalculationOutput>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bterlson
Comment options

Answer selected by xw695
@xw695
Comment options

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