Skip to content

Should AttributeValue as_ family api return Option instead of Result? #403

Answered by rcoh
xltan asked this question in Q&A
Discussion options

You must be logged in to vote

the as_ returns Result to enable getting the value that is actually there. You can go from Result to Option with.ok()

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jmklix
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