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

Inconsistent types #76

Closed
oded-dd opened this issue Aug 3, 2019 · 1 comment
Closed

Inconsistent types #76

oded-dd opened this issue Aug 3, 2019 · 1 comment

Comments

@oded-dd
Copy link

oded-dd commented Aug 3, 2019

The current dhall-kubernetes does not give a generic way for the object type of kubernetes E.g. configMap.core.v1.data which is of type object under the kubernetes API documentation is translated to data : List { mapKey : Text, mapValue : Text } which does not support nested map Values (https://github.com/dhall-lang/dhall-kubernetes/blob/master/types/io.k8s.api.core.v1.ConfigMap.dhall)

dhall 9 now supports weakly-typed JSON (#586) which should solve the issue. Is there a plan to support it?

@arianvp
Copy link
Member

arianvp commented Aug 4, 2019

Thanks for raising this issue.

I think This is a duplicate of #74

I think weakly typed JSON for object types is indeed the way to go .

@arianvp arianvp closed this as completed Aug 4, 2019
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

No branches or pull requests

2 participants