Marvin
Marvin
Aarktype
Created by Marvin on 12/9/2024 in #questions
Framework-level onDeepUndeclaredKey
Alright, that's... Perfect! Thanks a lot, I'll try to convince my company to sponsor you, ArkType is a game changer.
6 replies
Aarktype
Created by Marvin on 12/9/2024 in #questions
Framework-level onDeepUndeclaredKey
I’m genuinely impressed by how thoroughly this library is designed. Kudos, honestly. It works for me, thanks for the solution. However, I think it would be nice to be able to configure these settings on a per instance basis (type.configure which would return a type function). Therefore we could have these global settings, overridden by the type function instance settings, overridden by the final leaf type settings. In my case I don’t see why I would want undeclared keys but it would feel more robust not to mess with globals 😉 Thanks again, and if my suggestion makes sense, I’ll go ahead and try to do a PR, let me know
6 replies