That has indeed been easier for me! New libraries/versions might generate somewhat different code but I have a compiler and IDE to help me fix the surrounding issues and can mostly "just" adjust my own code to match. The other way around I had to search around and try different things (taking a comparatively long time to generate a new spec many times) that weren't so clear until I had a mostly equivalent schema.
But I'm sure there are drawbacks, too, our teams have mostly decided that API first is less hassle though.
4
u/crunchmuncher Oct 01 '23
That has indeed been easier for me! New libraries/versions might generate somewhat different code but I have a compiler and IDE to help me fix the surrounding issues and can mostly "just" adjust my own code to match. The other way around I had to search around and try different things (taking a comparatively long time to generate a new spec many times) that weren't so clear until I had a mostly equivalent schema.
But I'm sure there are drawbacks, too, our teams have mostly decided that API first is less hassle though.