Hi,
In an older conversation me @amaster507 and @MichelDiz spoke about blank nodes in gql.
@amaster507 and I wanted/suggested the following:
Instead of
(
input: [
{
name: "lucas",
friendOf: [
{
name: "Jorge",
friendOf: [
{
name: "lucas"
}
]
}
]
}
)
It could be like:
addPerson(
input: [
{
uid: "_:Lucas",
name: "lucas",
friendOf: [
{
uid: "_:Jorge"
}
]
},
{
uid: "_:Jorge",
name: "jorge",
friendOf: [
{
uid: "_:Lucas"
}
]
}
]
)
Or:
addPerson(
input: [
{
uid: "_:Lucas",
name: "lucas"
},
{
uid: "_:Jorge",
name: "jorge",
friendOf: [
{
uid: "_:Lucas"
}
]
}
]
)
That’s a view of the organization at transaction level. But the @id
directive could do the same thing
Is this something that you can add or already have a solution for?
Thanks,
Spinelsun