-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fetch detailed information about each project #1
Conversation
I just noticed there is a breaking change 😕 I'm not really sure what the appropriate way is to handle this, if people are actively using this plugin with the |
Cool, thank you! |
I'm sorry but I don't know which modules you're talking about? 🤔 I Wasn't aware of any, if you could point me in the right direction I'll look what I can do 😄 |
|
Oh offcourse, thought you were talking about components in React or something, I will test it sometime this week, will get back with the results here. |
So, after further testing it was indeed the case that the mapping of |
As you see I changed some things afterall :D |
Having an axios request inside of the
projects.map
simply wouldn't generate a schema for me. By adding it outside of that it would work. However, I noticed that the detailed information of each project (/projects/:projectID
) would include all the information that is present in the general information of all the projects (/users/:userName/projects
). So it made more sense to me to simply extract all of the information from the detailed information about each project.Also, to get around the keys-being-numbers issue I broke the keys down into arrays with strings as keys. I think the naming could perhaps be better in some places.
Let me know if it works / what you think! 👍