You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Put output below this line
aws-api = { module ="com.amplifyframework:aws-api", version.ref ="awsApi" }
core = { module ="com.amplifyframework:core", version.ref ="awsApi" }
awsApi ="2.14.11"
Environment information
# Put output below this line
------------------------------------------------------------
Gradle 8.4
------------------------------------------------------------
Build time: 2023-10-04 20:52:13 UTC
Revision: e9251e572c9bd1d01e503a0dfdf43aedaeecdc3f
Kotlin: 1.9.10
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 11.0.22 (Oracle Corporation 11.0.22+9-LTS-219)
OS: Windows 11 10.0 amd64
Please include any relevant guides or documentation you're referencing
No response
Describe the feature request
Add the ability to run custom mutation either by autogenerating from schema or building using a graphQL string.
For example, for the mutation defined in JS as follows:
Impression: a.model({
videoId: a.string().required(),
impressions: a.integer().default(0)
}).identifier(['videoId'])
.authorization([
a.allow.public().to(['read'])
]),
increaseImpression: a
.mutation()
// arguments that this query accepts
.arguments({
videoId: a.string()
})
// return type of the query
.returns(a.ref('Impression'))
// only allow signed-in users to call this API
.authorization([a.allow.public()])
.handler(a.handler.custom({
dataSource: a.ref('Impression'),
entry: './increment-impression.js'
}))
Hi @gpavlov2016 , thank you for your feature request. We will take a look into the request at our earliest convenience to determine if this is something we want to take on.
Before opening, please confirm:
Language and Async Model
Java, Kotlin, Kotlin - Coroutines
Amplify Categories
GraphQL API
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
No response
Describe the feature request
Add the ability to run custom mutation either by autogenerating from schema or building using a graphQL string.
For example, for the mutation defined in JS as follows:
GraphQL Mutation:
Initialization steps (if applicable)
No response
Code Snippet
// Put your code below this line.
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: