-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add graphql unit tests #32
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jarrod-lowe
had a problem deploying
to
primary-ro
August 17, 2024 04:48 — with
GitHub Actions
Failure
jarrod-lowe
had a problem deploying
to
primary-ro
August 17, 2024 04:50 — with
GitHub Actions
Failure
jarrod-lowe
had a problem deploying
to
primary-ro
August 17, 2024 04:54 — with
GitHub Actions
Failure
Terraform plan in terraform/environment/wildsea With variablesenvironment = "primary"
saml_metadata_url = (sensitive value) Plan: 0 to add, 1 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~ update in-place
Terraform will perform the following actions:
# module.wildsea.aws_appsync_resolver.resolver["createGame"] will be updated in-place
!~ resource "aws_appsync_resolver" "resolver" {
!~ code = <<-EOT
// mutation/createGame/appsync.ts
- import { util } from "@aws-appsync/utils";
+ import {
+ util
+ } from "@aws-appsync/utils";
function request(context) {
if (!context.identity) {
util.error("Unauthorized: Identity information is missing.");
}
const identity = context.identity;
if (!identity.sub) {
util.error("Unauthorized: User ID is missing.");
}
const input = context.arguments.input;
const id = util.autoId();
const timestamp = util.time.nowISO8601();
return {
operation: "PutItem",
key: util.dynamodb.toMapValues({ PK: "GAME#" + id, SK: "GAME" }),
attributeValues: util.dynamodb.toMapValues({
name: input.name,
description: input.description,
id,
fireflyUserId: identity.sub,
createdAt: timestamp,
updatedAt: timestamp
})
};
}
function response(context) {
if (context.error) {
util.appendError(context.error.message, context.error.type, context.result);
return;
}
return context.result;
}
export {
request,
response
};
- //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI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tBQUFBLEVBQ0U7QUFBQSxPQUtLO0FBY0EsU0FBUyxRQUNkLFNBQ3dCO0FBQ3hCLE1BQUksQ0FBQyxRQUFRLFVBQVU7QUFDckIsU0FBSyxNQUFNLGdEQUEwRDtBQUFBLEVBQ3ZFO0FBRUEsUUFBTSxXQUFXLFFBQVE7QUFDekIsTUFBSSxDQUFDLFNBQVMsS0FBSztBQUNqQixTQUFLLE1BQU0sbUNBQTZDO0FBQUEsRUFDMUQ7QUFFQSxRQUFNLFFBQVEsUUFBUSxVQUFVO0FBQ2hDLFFBQU0sS0FBSyxLQUFLLE9BQU87QUFDdkIsUUFBTSxZQUFZLEtBQUssS0FBSyxXQUFXO0FBQ3ZDLFNBQU87QUFBQSxJQUNMLFdBQVc7QUFBQSxJQUNYLEtBQUssS0FBSyxTQUFTLFlBQVksRUFBRSxJQUFJLFVBQVUsSUFBSSxJQUFJLE9BQU8sQ0FBQztBQUFBLElBQy9ELGlCQUFpQixLQUFLLFNBQVMsWUFBWTtBQUFBLE1BQ3pDLE1BQU0sTUFBTTtBQUFBLE1BQ1osYUFBYSxNQUFNO0FBQUEsTUFDbkI7QUFBQSxNQUNBLGVBQWUsU0FBUztBQUFBLE1BQ3hCLFdBQVc7QUFBQSxNQUNYLFdBQVc7QUFBQSxJQUNiLENBQUM7QUFBQSxFQUNIO0FBQ0Y7QUFFTyxTQUFTLFNBQVMsU0FBMkI7QUFDbEQsTUFBSSxRQUFRLE9BQU87QUFDakIsU0FBSyxZQUFZLFFBQVEsTUFBTSxTQUFTLFFBQVEsTUFBTSxNQUFNLFFBQVEsTUFBTTtBQUMxRTtBQUFBLEVBQ0Y7QUFDQSxTQUFPLFFBQVE7QUFDakI7IiwKICAibmFtZXMiOiBbXQp9Cg==
EOT
id = "tfiz6mnf2nhyzpzkwm554sir5q-Mutation-createGame"
# (9 unchanged attributes hidden)
# (1 unchanged block hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. ✅ Plan applied in Environment Main - Apply #27 |
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.