Skip to content

chore(docs): Example @link directive with array (by elemMatch) #36632

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

Merged
merged 9 commits into from
Nov 22, 2022

Conversation

aryans1319
Copy link
Contributor

@aryans1319 aryans1319 commented Sep 18, 2022

Description

Updated docs and added elemMatch working in the createFieldExtension

Documentation

Prev

type Author implements Node {
      id: ID!
      name: String!
    }
  `)
}

Now

type Author implements Node {
      id: ID!
      name: String!
      email: String!
      posts: [Post!]! @link(from: "email", by: "authors.elemMatch.email")
    }
}

Fixes #36330

…ormer-react-docgen (gatsbyjs#36277)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 18, 2022
@LekoArts LekoArts added type: documentation An issue or pull request for improving or updating Gatsby's documentation and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 19, 2022
Copy link
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LekoArts LekoArts changed the title fix(docs): Example @link directive with array (by elemMatch) chore(docs): Example @link directive with array (by elemMatch) Sep 19, 2022
@aryans1319
Copy link
Contributor Author

Changes Done!
@LekoArts Thank you helping me out, I am a beginner in oss

Copy link
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I added the note to the correct place in the doc. We had a note about this (that it doesn't work) so we needed to make an adjustment there

@LekoArts LekoArts changed the title chore(docs): Example @link directive with array (by elemMatch) chore(docs): Example @link directive with array (by elemMatch) Nov 22, 2022
@LekoArts LekoArts merged commit f595257 into gatsbyjs:master Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: Example @link directive with array (by elemMatch)
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy