-
Notifications
You must be signed in to change notification settings - Fork 9
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
Node relations #1
Conversation
Also, I'm unsure of the best way to go about adding or changing node relations since nodes don't get recreated unless the node's internal.contentDigest. A work around is to de-create the nodes and re-create them. You can do this by commenting out the line that uses createNode(), recompile with |
I'll have a look at this next week.. |
…eader, using Firefox U_A value instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the discovery. I added the fix to the repo manually for now. The PR is not working as intended for me so can't merge. I'll have a closer look at this soon..
Ok thanks! Tell me what the problem is when you have time :)
…On Wed, 5 Sep 2018 at 14:39, Sarasate ***@***.***> wrote:
***@***.**** commented on this pull request.
Thanks for the discovery. I added the fix to the repo manually for now.
The PR is not working as intended for me so can't merge. I'll have a closer
look at this soon..
------------------------------
In src/gatsby-node.js
<#1 (comment)>
:
> const { defaultEntities } = require('./defaultEntities')
-
-// Add prefix for Eventbrite
-const typePrefix = `Eventbrite`
-const makeTypeName = type => _.upperFirst(_.camelCase(`${typePrefix} ${type}`))
+const { linkEventWithVenue } = require('./createNodeRelations')
@isabellachen <https://github.com/isabellachen> The file
createNodeRelations is missing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI2cmYM5R1dvd-HuqsR_19Strmoa9T65ks5uX8XngaJpZM4WT_Kj>
.
|
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Update this plugin so now it is possible to query
venue__NODE
when querying events to get the venue.For example, with a query like this: