Skip to content

Composition API: Why are nested properties of objects in state readonly? #1124

Discussion options

You must be logged in to vote

Ok, my bad. I am using the Apollo GraphQL Client in the project and I assign the result of a GraphQL query to state.personList, thus making it readonly, since query results are immutable in Apollo Client 3.
Case closed.

Replies: 1 comment 2 replies

Comment options

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

@zunnzunn
Comment options

Answer selected by zunnzunn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants