Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

id should not be required. #107

Open
1 task done
aykutkardas opened this issue Feb 22, 2022 · 0 comments
Open
1 task done

id should not be required. #107

aykutkardas opened this issue Feb 22, 2022 · 0 comments
Labels

Comments

@aykutkardas
Copy link
Contributor

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • feature request
  • What is the current behavior?
    Initial data

[
  {
    "id": 1,
    "label": "Animal",
    "nodes": [
      {
        "id": 2,
        "label": "Dog"
      },
      {
        "id": 3,
        "label": "Cat"
      }
    ]
  }
]
  • What is the expected behavior?
    If I don't give an id it should generate it.
[
  {
    "label": "Animal",
    "nodes": [
      {
        "label": "Dog"
      },
      {
        "label": "Cat"
      }
    ]
  }
]
  • What is the motivation / use case for changing the behavior?
    Common usage is like this. In addition, it is tiring for the end user to create an id for unidentified data.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant