You can set a lambda mutation called newPostEntry and set the nameKebab field in that lambda mutation.That way you won’t have to call a function each time and save the data directly to your object instance. Check out the following link for understanding how to use lambdas in slashgql → https://dgraph.io/docs/graphql/lambda/overview/