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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant