Open jhonaikerf opened 4 years ago
Hey @jhonaikerf. Could you give me a bit more of a breakdown of what you're trying to achieve? Copying the plugin reference from gatsby-config.js
would be useful to help me debug this.
Are you saying that your response gets 3 objects, but when you look at GraphQL you're only seeing the last one?
Are you definitely selecting allMultiApi
and not the multiApi
option in the GraphiQL explorer?
Hi @danspratling, i've found your plugin very conveniant to request data, thanks for sharing it ;) I encountered the same issue that @jhonaikerf had. Not sure if i'm missing something due to the fact I'm quite new using gatsby. Using the spaceX api in README i only get the last result. I've used the addMultiApi
option in GraphiQL explorer as you can see in the pic linked below. Of course I was expecting a more populated array ;) Any advice? Thanks in advance.
.
This is the response api [{"Codigo":6,"Nombre":"ARTRITIS","NomAlterno":"ARTHRITIS","Status":"A","url_sm":"","url_md":""},{"Codigo":9,"Nombre":"CANCER","NomAlterno":"CANCER","Status":"A","url_sm":"","url_md":""},{"Codigo":7,"Nombre":"MUJER","NomAlterno":"WOMAN","Status":"A","url_sm":"","url_md":""}]
I only get the last in my graphql nodes