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

feat(gatsby): Allow plugins to make functionality available on field resolver context #16359

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

stefanprobst
Copy link
Contributor

Allow plugins to put methods on context, which would allow using plugin functionality to compose new custom types (e.g. more than one markdown type with different frontmatter fields).

@stefanprobst stefanprobst requested a review from a team as a code owner August 3, 2019 21:53
Copy link
Contributor

@freiksenet freiksenet left a comment

Choose a reason for hiding this comment

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

Could you add this to docs in a separate PR?

@freiksenet freiksenet merged commit 142b8ff into gatsbyjs:master Aug 5, 2019
@stefanprobst stefanprobst deleted the createresolvercontext branch August 5, 2019 09:03
@stefanprobst
Copy link
Contributor Author

Yes sure!

lipis added a commit to lipis/gatsby that referenced this pull request Aug 5, 2019
* 'master' of github.com:gatsbyjs/gatsby: (103 commits)
  chore(showcase): add AntdSite (gatsbyjs#16376)
  docs: Fix typos in docs/blog (gatsbyjs#16366)
  chore(starters): add gatsby-starter-fashion-portfolio (gatsbyjs#16333)
  chore(showcase): Add Fourpost (gatsbyjs#16390)
  Docs: Fix a markdown syntax error in recipes.md (gatsbyjs#16371)
  docs: Update building-a-theme.md (gatsbyjs#16364)
  fix: update dependency @theme-ui/prism to ^0.2.29 (gatsbyjs#16385)
  chore: update dependency gatsby to ^2.13.51 (gatsbyjs#16375)
  Fix www build
  fix: update dependency @theme-ui/typography to ^0.2.29 (gatsbyjs#16386)
  fix: update dependency gatsby-plugin-theme-ui to ^0.2.29 (gatsbyjs#16387)
  fix: update dependency theme-ui to ^0.2.29 (gatsbyjs#16388)
  fix(www): fallback to github & unpkg to get README.md (gatsbyjs#16322)
  fix(www): replace \n into newlines for guess (gatsbyjs#16382)
  fix(gatsby): always use publicLoader for window.___loader (gatsbyjs#16122)
  feat(docs): Document what breaking changes are for themes (gatsbyjs#16302)
  docs: Link mapping to @link (gatsbyjs#16152)
  fix(gatsby): Add findMatchPath to the default loader (gatsbyjs#16334)
  feat(gatsby): Allow custom resolver context (gatsbyjs#16359)
  feat(docs): Add docs for @nodeInterface extension (gatsbyjs#16356)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants