Skip to content

Conversation

@bidoubiwa
Copy link
Contributor

The port field in the client object is of type number but in the examples it is showcased as a string

 const client = new Client({
    user: "user",
    database: "test",
    hostname: "localhost",
    port: "5432"
  });

Which raised the following error on build:
error: Uncaught InvalidData: data did not match any variant of untagged enum ArgsEnum

The port field in the client object is of type `number` but in the examples it is showcased as a string
```
  port: "5432"
```
@bidoubiwa bidoubiwa changed the title Port is of type number but examples uses string Documentation: Port is of type number but examples uses string Aug 8, 2020
@hayd
Copy link
Member

hayd commented Sep 4, 2020

Thanks @bidoubiwa !

@hayd hayd merged commit ade873f into denodrivers:master Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants