Skip to content

Add a mutation to graphql

Codacy Production / Codacy Static Code Analysis required action Aug 15, 2024 in 0s

60 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 60
           

Complexity increasing per file
==============================
- graphql/mutation/createGame/appsync.ts  3
         

See the complete overview on Codacy

Annotations

Check failure on line 1 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L1

ES2015 modules are forbidden.

Check failure on line 1 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L1

Unable to resolve path to module '@aws-appsync/utils'.

Check failure on line 9 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L9

tsdoc-malformed-inline-tag: Expecting a TSDoc tag starting with "{@"

Check failure on line 12 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L12

tsdoc-escape-right-brace: The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag

Check failure on line 14 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L14

tsdoc-malformed-inline-tag: Expecting a TSDoc tag starting with "{@"

Check failure on line 32 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L32

You have a misspelled word: ctx on Identifier

Check failure on line 33 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L33

Unsafe call of an `any` typed value.

Check failure on line 36 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L36

Unsafe member access .identity on an `any` value.

Check failure on line 37 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L37

Unsafe member access .sub on an `any` value.

Check failure on line 38 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L38

Unsafe member access .error on an `any` value.

Check failure on line 41 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L41

Unsafe assignment of an `any` value.

Check failure on line 41 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L41

Unsafe member access .arguments on an `any` value.

Check failure on line 41 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L41

You have a misspelled word: ctx on Identifier

Check failure on line 42 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L42

Unsafe assignment of an `any` value.

Check failure on line 42 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L42

Unsafe call of an `any` typed value.

Check failure on line 42 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L42

Unsafe member access .autoId on an `any` value.

Check failure on line 43 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L43

Unsafe member access .time on an `any` value.

Check failure on line 47 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L47

ES5 trailing commas in array/object literals are forbidden.

Check failure on line 49 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L49

Unsafe assignment of an `any` value.

Check failure on line 50 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L50

Unsafe member access .sub on an `any` value.

Check failure on line 52 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L52

Unsafe assignment of an `any` value.

Check failure on line 57 in graphql/mutation/createGame/appsync.ts

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/mutation/createGame/appsync.ts#L57

You have a misspelled word: ctx on Identifier

Check failure on line 2 in graphql/package-lock.json

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/package-lock.json#L2

You have a misspelled word: graphql on String

Check failure on line 14 in graphql/package-lock.json

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/package-lock.json#L14

You have a misspelled word: aws on String

Check failure on line 21 in graphql/package-lock.json

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

graphql/package-lock.json#L21

You have a misspelled word: aws on String