Skip to content

txn.Discard() doesn't discard a Txn but commits the data #63

@jostillmanns

Description

@jostillmanns

Prior to #39 txn.Discard() aborted a transaction. Now the data is commited. Maybe I am misunderstanding the API but the behavior did change after #39 was merged. In particular, https://github.com/dgraph-io/dgo/pull/39/files#diff-086d95904066e9938ebbede858e38b20L209 introduced the breaking change.

Metadata

Metadata

Assignees

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