Giter Site home page Giter Site logo

Comments (4)

eXaminator avatar eXaminator commented on August 19, 2024

After opening the PR and testing it a bit more there still seems to be a problem as I can't seem to be able to query any children (they are always empty) but I only get the children as "root" entry (with a level of 2).

I'll check it out too, but I'm unsure why that is because I'm not too familiar with gatsby plugins yet.

from fika-gatsby-source-cockpit.

eXaminator avatar eXaminator commented on August 19, 2024

After some more research it seems that children are handled differently then other foreign keys and you should link them using the action "createParentChildLink" instead of just setting children___NODE. I'm playing around with it but it might take a while for me to get this fixed. Once I have it up and running I'll add it to the PR. But it might take a few days.

from fika-gatsby-source-cockpit.

WhippetsAintDogs avatar WhippetsAintDogs commented on August 19, 2024

Hi @eXaminator, did you had the time to fix the linking part ? I'll wait for that being added in the PR before submitting any review if that is OK with you. 😄
If you have any trouble let me know. I'll fix it on my side if it's the case.

from fika-gatsby-source-cockpit.

eXaminator avatar eXaminator commented on August 19, 2024

@WhippetsAintDogs I did some quick fixes but didn't commit them yet due to time constraints. I'll see if I can get to it this weekend!

from fika-gatsby-source-cockpit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.