Mike Szyndel
Mike Szyndel
After a quick investigation, breaking change seems to have been introduced in this commit https://github.com/github/graphql-client/commit/01fcb5891ff5782d893ba4bac9840c3875a3440c
It is possible to still get the status but 1. It user personal access token now 2. Only responds in JSON The endpoint is https://circleci.com/api/v1.1/project/:vcs/:user/:project/tree/master?circle-token=api_key where `:vcs` has to have...
@erikdoe oh wow, thanks for a quick response. Here is, slightly sanitized, response ``` [ { "compare" : "https://github.com/user/project/compare/ee6dd61f7792...c90b11921995", "previous_successful_build" : { "build_num" : 1607, "status" : "success", "build_time_millis" :...
The response includes a number of previous builds for a branch (30?). Certain properties could be looked up from subsequent elements in the array of builds. The attributes needed for...
Same problem here! I'm not proficient with react though yet to help fix it but will be glad to test if you find a solution.
I dug into it a little and problem seems to be that `child.props.children` is `undefined` in line 127 of `Form.js`
@wkerswell that's not the problem. The problem is elements we put in `render` are not available in `element.props.children` for this component code. You can quickly test it with following change...
I think a proper solution to that problem would be to create a Fieldset component similar to Form and use it for sub-forms. I will try to make a pull...
@heilhead thanks for answering! Could you point me in right direction, maybe I can figure something out?
Luckily for me the owner component can be Form if I understand it right (it's top element in my main render, I just include react parts inside my normal website)