Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd naming in JsonProvider #1318

Closed
runefs opened this issue Jul 2, 2020 · 0 comments · Fixed by #1408
Closed

Odd naming in JsonProvider #1318

runefs opened this issue Jul 2, 2020 · 0 comments · Fixed by #1408

Comments

@runefs
Copy link

runefs commented Jul 2, 2020

The following provided type will not have a type called Config.Sources but instead have a type called Config.Sourcis.

type Config = JsonProvider<"""{"sources": [{"a":"b"}]}""">

on the other hand

type Config = JsonProvider<"""{"sources": {"a":"b"}}""">

does have a type called Config.Sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant