graph-rs
graph-rs copied to clipboard
Write up for generating code
We need a write up of how to generate code for the APIs and to make this easier to do for everyone using the project.
Definitely interested in this - want to add support for the To Dos API. Digging now.
In case you didn't see this thread @kitplummer : https://github.com/sreeise/graph-rs/discussions/339 It should help you get started. A little disclaimer : did that once or twice and it's not at all straightforward to add new apis, even for simple cases. There is multiple "layers" of macros and it can be a bit overwhelming at first.
Yeah, simplifying the api generation process is something I have been working toward for a while. But its still needs some work. And I think it might make more sense to get some of these changes that I am currently working on into the codebase I before do a write up. Because its going to get outdated quick. And I am also simplifying the process so that its not too overwhelming like DevLazio mentioned.
With the release of 1.0.0, codgen is in a much better place. Maybe a few tweaks to get it more user friendly. I will try to provide a write up soon now that I am freed up to do it.
Started working on the Wiki. Its not ready yet but its making progress.
Going to close this one has there has been a good bit of documentation added on this. Theres always room for improvement here though so feel free to chime in with more questions or update docs if you feel something is wrong.