aws-amplify / amplify-swift

A declarative library for application development using cloud services.
Apache License 2.0
436 stars 192 forks source link

Improve the update application data documentation #3545

Open kafejo opened 4 months ago

kafejo commented 4 months ago

Is your feature request related to a problem? Please describe.

When it comes to mutating data, there's a very little documentation about how to do it. Actually just one line that contains a typo.

image

https://docs.amplify.aws/swift/build-a-backend/graphqlapi/mutate-data/#update-an-item

Describe the solution you'd like

It would be nice to have more complex example including the use of update parameters where and includes.

Describe alternatives you've considered

I tried to examine the codebase to learn how to use includes but not really sure what's the best practice here. No documentation comments in the codebase either.

Is the feature request related to any of the existing Amplify categories?

API

Additional context

No response

phantumcode commented 4 months ago

@kafejo Thanks for submitting your request, we'll prioritize the issue and post updates here.