Skip to content

Commit

Permalink
upgrade to typescript 5.0 and use new decorator API (#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto authored May 4, 2023
1 parent fe2f722 commit 431457a
Show file tree
Hide file tree
Showing 31 changed files with 1,415 additions and 2,718 deletions.
1 change: 1 addition & 0 deletions .github/testdata/user.ts.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { gqlField } from "@snowtop/ent/graphql";

export class User extends UserBase {
@gqlField({
nodeName: 'User',
type: GraphQLInt,
})
howLong() {
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/go_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ jobs:
DB_CONNECTION_STRING: 'postgres://postgres:postgres@localhost:5432/postgres'
POSTGRES_PASSWORD: 'postgres'
POSTGRES_USER: 'postgres'
# TODO https://github.com/lolopinto/ent/issues/1384
DISABLE_SWC: 'true'
1 change: 0 additions & 1 deletion examples/simple/ent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# defaultActionPolicy:
# path: '@snowtop/ent'
# policyName: 'AlwaysAllowPrivacyPolicy'
customGraphQLJSONPath: "src/schema/custom_graphql.json"
dynamicScriptCustomGraphQLJSONPath: 'src/scripts/custom_queries.ts'
# we use default globalSchema FYI
# globalSchemaPath: __global_schema.ts
Expand Down
Loading

0 comments on commit 431457a

Please sign in to comment.