Skip to content
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

upgrade to typescript 5.0 and use new decorator API #1405

Merged
merged 18 commits into from
May 4, 2023
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