chore: accept non-pointer values in the generated builder methods #1130
Annotations
6 errors and 1 warning
all-tests:
pkg/sdk/external_tables_impl.go#L58
cannot use NewShowExternalTableInRequest().WithSchema(NewDatabaseObjectIdentifier(id.DatabaseName(), id.SchemaName())) (value of type *ShowExternalTableInRequest) as ShowExternalTableInRequest value in argument to NewShowExternalTableRequest().WithIn
|
all-tests:
pkg/sdk/external_tables_impl.go#L59
cannot use String(id.Name()) (value of type *string) as string value in argument to NewShowExternalTableRequest().WithIn(NewShowExternalTableInRequest().WithSchema(NewDatabaseObjectIdentifier(id.DatabaseName(), id.SchemaName()))).WithLike
|
all-tests
Process completed with exit code 2.
|
all-tests:
pkg/sdk/external_tables_impl.go#L58
cannot use NewShowExternalTableInRequest().WithSchema(NewDatabaseObjectIdentifier(id.DatabaseName(), id.SchemaName())) (value of type *ShowExternalTableInRequest) as ShowExternalTableInRequest value in argument to NewShowExternalTableRequest().WithIn
|
all-tests:
pkg/sdk/external_tables_impl.go#L59
cannot use String(id.Name()) (value of type *string) as string value in argument to NewShowExternalTableRequest().WithIn(NewShowExternalTableInRequest().WithSchema(NewDatabaseObjectIdentifier(id.DatabaseName(), id.SchemaName()))).WithLike
|
all-tests
Process completed with exit code 2.
|
all-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v2, actions/github-script@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|