Drew Powers
Drew Powers
Thanks for the investigation! Looking into it. It could have something to do with a change to `openapi-typescript-helpers`. I think I’m going to add tests for different `moduleResolution`s somehow. Could...
This is a great suggestion, and something I’ve been thinking about doing. This library was written before OKLAB/OKLCH were even added to the CSS Color Module 4 spec, and before...
> The question than is also what the best internal value type would be... e.g. what type supports all human-noticable accents to allow dealing with P3, Rec2020 and others in...
Ah hm. How would you recommend we solve this? Maybe if a mode doesn’t exist, just grab the first mode available (in this example, `Value`)? Should this throw a warning,...
Ah I see. If Figma’s collections are synonymous with a theme, there’s not really a parallel in DTCG currently. I felt confident extending DTCG with modes because there was enough...
In some ways `pathParamsAsTypes` (non-default behavior of openapi-typescript) doesn’t mesh perfectly with openapi-fetch. The whole idea of declaring parameters one-by-one means they can be typechecked. Even in your example, asserting...
Thanks for raising! `$extensions` in the spec is basically arbitrary metadata meant for tools to interpret how they will. There is no standard inside `$extensions`, so every tool will interpret...
A related issue popped up this week with #192. I’ve realized that plugins need 3 things: 1. The final / resolved value (exists currently) 2. The original as-authored raw value...
@jbarreiros ah that’s very helpful, thank you! I am currently exploring something like that as part of the 2.0 plugin API. That will be a good reference point though
This is a good addition! I think 6.x or 7.x (beta) could support this addition without it being a breaking change. Would love a PR for this if anyone is...