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

How to use two links from the same query? #96

Open
FreePhoenix888 opened this issue Feb 2, 2023 · 1 comment
Open

How to use two links from the same query? #96

FreePhoenix888 opened this issue Feb 2, 2023 · 1 comment
Labels
question Further information is requested

Comments

@FreePhoenix888
Copy link
Member

FreePhoenix888 commented Feb 2, 2023

await deep.insert([
    {
    type_id: typeTypeLinkId,
      in: {
        data: {
          type_id: containTypeLinkId,
          from_id: packageLinkId,
          string: { data: { value: 'A' } },
        },
      },
  },
  {
    type_id: typeTypeLinkId,
      in: {
        data: {
          type_id: containTypeLinkId,
          from_id: packageLinkId,
          string: { data: { value: 'B' } },
        },
      },
  },
  // Link with from_id A and to_id B
  // ???????
]);
@FreePhoenix888 FreePhoenix888 added the question Further information is requested label Feb 2, 2023
@Konard
Copy link
Member

Konard commented Feb 2, 2023

If you mean in a single query, then we need support these:
graphql/graphql-spec#375
graphql/graphql-spec#377
graphql/graphql-spec#583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants