UnlyEd/ra-data-graphql-prisma

View on GitHub

Showing 40 of 40 total issues

Avoid too many return statements within this function.
Open

        return { ...acc, [parts[0]]: { id: params.filter[key] } };
Severity: Major
Found in src/buildVariables.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return {
              ...acc,
              where: {
                id: params.data[fieldName],
              },
    Severity: Major
    Found in src/buildVariables.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return acc;
      Severity: Major
      Found in src/buildGqlQuery.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return {
                ...acc,
                [`${field.name}.id`]: linkedResourceData
                  ? record[field.name].id
                  : undefined,
        Severity: Major
        Found in src/getResponseParser.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                    return {
                      ...acc,
                      data: {
                        ...acc.data,
                        [fieldName]: { [PRISMA_CONNECT]: { ...fieldsToConnect } },
          Severity: Major
          Found in src/buildVariables.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return { ...acc, [field.name]: record[field.name] };
            Severity: Major
            Found in src/getResponseParser.ts - About 30 mins to fix

              No licenses found for jest-get-type. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              jest-get-type@^22.4.3:
              Severity: Minor
              Found in yarn.lock by git-legal

              TODO found
              Open

              //TODO: validate fragment against the schema
              Severity: Minor
              Found in src/buildGqlQuery.ts by fixme

              FIXME found
              Open

                  // FIXME: We might have to handle linked types which are not resources but will have to be careful about endless circular dependencies
              Severity: Minor
              Found in src/getResponseParser.ts by fixme

              TODO found
              Open

              //TODO: Prisma supports batching (UPDATE_MANY, DELETE_MANY)
              Severity: Minor
              Found in src/index.ts by fixme

              Library ua-parser-js is licensed under a non-compliant license: GNU General Public License 2.0
              Open

              ua-parser-js@^0.7.18:
              Severity: Minor
              Found in yarn.lock by git-legal

              TODO found
              Open

              //TODO: Object filter weren't tested yet
              Severity: Minor
              Found in src/buildVariables.ts by fixme

              No licenses found for jest-get-type. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              jest-get-type@^22.4.3:
              Severity: Minor
              Found in yarn.lock by git-legal

              No licenses found for remarkable. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              remarkable@^1.7.1:
              Severity: Minor
              Found in yarn.lock by git-legal

              TODO found
              Open

              #  tslint: # https://docs.codeclimate.com/docs/tslint TODO configure tslint if needed
              Severity: Minor
              Found in .codeclimate.yml by fixme

              No licenses found for makeerror. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              makeerror@1.0.x:
              Severity: Minor
              Found in yarn.lock by git-legal

              No licenses found for jest-get-type. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              jest-get-type@^22.4.3:
              Severity: Minor
              Found in yarn.lock by git-legal

              No licenses found for tmp. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              tmp@^0.0.33:
              Severity: Minor
              Found in yarn.lock by git-legal

              No licenses found for jest-util. Either the library reports the licenses in an unsupported format, or the library is unlicensed.
              Open

              jest-util@^25.1.0:
              Severity: Minor
              Found in yarn.lock by git-legal

              TODO found
              Open

                          // TODO Only handles one level of nested updates, could use recursivity to handle deep nested relationship updates
              Severity: Minor
              Found in src/buildVariables.ts by fixme
              Severity
              Category
              Status
              Source
              Language