graph-rs icon indicating copy to clipboard operation
graph-rs copied to clipboard

Write up for generating code

Open sreeise opened this issue 3 years ago • 5 comments

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.

sreeise avatar Feb 19 '22 23:02 sreeise

Definitely interested in this - want to add support for the To Dos API. Digging now.

kitplummer avatar Sep 12 '22 18:09 kitplummer

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.

DevLazio avatar Sep 13 '22 14:09 DevLazio

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.

sreeise avatar Sep 22 '22 20:09 sreeise

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.

sreeise avatar Apr 04 '23 08:04 sreeise

Started working on the Wiki. Its not ready yet but its making progress.

sreeise avatar Apr 06 '23 21:04 sreeise

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.

sreeise avatar May 27 '24 08:05 sreeise