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

Allow appendAsEAVs to also handle nested sub-records and sub-record sets #861

merged 1 commit into from Jun 27, 2017


Copy link

@joshuafcole joshuafcole commented Jun 27, 2017

Let's you write

let eavs = appendAsEAVs([], {tag: "parent", name: "fred", children: [
  {tag: "child", name: "bruce"},
  {tag: "pet", name: "betsy"}

along with the previously supported

let eavs = appendAsEAVs([], {tag: "parent", name: "fred", children: [].concat(
  appendAsEAVs([], {tag: "child", name: "bruce"}),
  appendAsEAVs([], {tag: "pet", name: "betsy"})

@joshuafcole joshuafcole requested a review from cmontella Jun 27, 2017
@joshuafcole joshuafcole self-assigned this Jun 27, 2017
@joshuafcole joshuafcole merged commit 62c5662 into master Jun 27, 2017
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants