Support unknown table keys #97
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Give a TOML like:
I don't see a way to bind this while also still doing type validation on the known table and the unknown child table shapes (just not their keys).
I would want to bind it against a type defined something like this:
In the case where the child tables do not conform to the same shape, this should also be allowed:
And finally, I have a real-world case which is mixing known table names and unknown table names in a single type. So the TOML looks like this:
Ideally I could somehow bind this against a type like:
I looked through the issues, documentation, and tests cases and didn't see anything that would suggest this is supported today. So far the only path forward I've seen is to go directly to
TomlTable
and do the entirety of the type binding myself.The text was updated successfully, but these errors were encountered: