fern-api / fern

Input OpenAPI. Output SDKs and Docs.
https://buildwithfern.com
MIT License
2.45k stars 118 forks source link

(fix): remove sdk language toggle for new unions #3891

Closed dsinghvi closed 1 week ago

dsinghvi commented 1 week ago

If the union: v1 setting is turned on then we should just default shouldUseUndiscriminatedUnionsWithLiterals. This will affect existing generators on the same API so it has to be used carefully.