Skip to content

Fail on incorrect NewDriver arguments #119

@timkofu

Description

@timkofu

This code runs without printing err:

configForNeo4j40 := func(conf *neo4j.Config) { conf.Encrypted = false }

driver, err := neo4j.NewDriver("bolt://localGhost:7687", neo4j.BasicAuth("username", "password", ""), configForNeo4j40)
if err != nil {
	fmt.Println(err)
}

defer driver.Close()

Would it be possible to make it fail if any of the arguments to NewDriver are wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions