Skip to content

Documentation on pre-v7.6 examples should be removed #88

@paulftw

Description

@paulftw

examples/simple has index-pre-v7.6.js according to docs it's for versions of node from 2017.

  • We don't offer legacy code for other examples
  • Support for all obsolete nodejs versions is not our goal
  • node 7.6 was released in 2017, current LTS node is 10.16, latest is v12.11. There are no good reasons to support that environment, esp. when current dgraph-js is not supposed to be used with Dgraph pre-1.1
    • there's also a chance 7.6 refers to the V8 version, not nodejs version, in which case docs are misleading

To address all of these and simplify life for everyone we should just drop that pre-7.6 example and all references to it.
Users who cannot use async/await can either add transpiler to their toolchain or port examples to promises/then.

Metadata

Metadata

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