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

The "sqlc.arg" doesn't accept "nullable => true" #1446

Closed
saleh-rahimzadeh opened this issue Feb 17, 2022 · 1 comment
Closed

The "sqlc.arg" doesn't accept "nullable => true" #1446

saleh-rahimzadeh opened this issue Feb 17, 2022 · 1 comment
Labels
bug Something isn't working triage New issues that hasn't been reviewed

Comments

@saleh-rahimzadeh
Copy link

Version

1.12.0

What happened?

The sqlc.arg raises error when using with nullable => true argument:

sqlc.arg('user_id', nullable => true)

Error:

expected 1 parameter to sqlc.arg; got 2

Relevant log output

No response

Database schema

No response

SQL queries

No response

Configuration

No response

Playground URL

No response

What operating system are you using?

Linux

What database engines are you using?

PostgreSQL

What type of code are you generating?

Go

@saleh-rahimzadeh saleh-rahimzadeh added bug Something isn't working triage New issues that hasn't been reviewed labels Feb 17, 2022
@danielbprice
Copy link
Contributor

Seems like #1155 is the same as this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage New issues that hasn't been reviewed
Projects
None yet
Development

No branches or pull requests

2 participants