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

createDatabase parameters do not follow specfication #561

Closed
snocorp opened this issue Aug 2, 2018 · 1 comment
Closed

createDatabase parameters do not follow specfication #561

snocorp opened this issue Aug 2, 2018 · 1 comment
Assignees
Labels
Bug A code defect that needs to be fixed.

Comments

@snocorp
Copy link

snocorp commented Aug 2, 2018

The reference manual indicates that the users argument should be an array of:

username: string
passwd: string (Default: empty)
active: boolean (Default: true)
extra: Object (optional)

See https://docs.arangodb.com/3.3/HTTP/Database/DatabaseManagement.html#create-database

The current implementation only allows for an array of strings.

@pluma
Copy link
Contributor

pluma commented Aug 6, 2018

Yupp, that seems to be a bug in the type signature. Thanks for spotting this.

@pluma pluma added the Bug A code defect that needs to be fixed. label Aug 6, 2018
@pluma pluma self-assigned this Aug 6, 2018
@pluma pluma closed this as completed in 4624971 Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A code defect that needs to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants