Open micaelr95 opened 4 years ago
@kevinbarnett Can I get this PR merged?
Cool idea, @micaelr95 ! Here are some suggestions that I would prefer to see before considering a merge on this PR:
boardToken
parameter is a breaking change; please continuing to support this parameter by merging this and the boardTokens
parameter in the sourceNodes
methodboardToken
parametergreenhouseBoards
for the purposes of labeling / curating from multiple boards; this should be linked to all child nodesHey @kevinbarnett . Thank you so much for the comment.
Can you elaborate on the last point?
Edit: I already added the two first points. Can you check if that's what you wanted?
@micaelr95 your changes that address the first two points look good.
On the last point, I would recommend pulling from two Greenhouse boards you are not familiar with (hint: you can look at Greenhouse's homepage and look for customer logos; these can be used to infer what the boardToken is for those customers).
After pulling from multiple boards, how can you tell which job/department/office is related or not related to the same board?
I believe a new node – greenhouseBoard
– needs to be added and linked to the other nodes.
This should illustrate the use case I'm thinking of (assuming you have built a Gatsby site with multiple boards):
This PR will add the ability to fetch data from multiple boards