Dear Prismic team,
One thing my dev team has really struggled with in Slice Machine is having multiple developers working at the same time.
Whenever several slice changes need to happen in parallel, things can get pretty chaotic. It ends up requiring a lot of coordination, timing, communication, and merge conflict resolution because everything eventually gets folded into the same prismicio-types.d.ts file.
One thing I think works really well is how the customtypes folder is structured. If I make changes to one Custom Type and another developer is working on a completely different one, we generally don't run into any issues because they're separate files.
Has the team ever considered doing something similar with prismicio-types.d.ts? Maybe having it act as the source of truth, but generating types in a more modular way so developers are working in separate files instead of constantly touching one large file.
It feels like if the type system worked more like the Custom Types structure, multiple developers could work throughout the Slice Machine ecosystem without stepping on each other's toes, as long as they aren't editing the same slice. It would make collaboration a lot smoother for larger teams.
Curious if this is something that's been discussed and if there is a plan to resolve this issue in the near future.