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

pkg:json - Support for dynamic values #55761

Open
pattobrien opened this issue May 17, 2024 · 0 comments
Open

pkg:json - Support for dynamic values #55761

pattobrien opened this issue May 17, 2024 · 0 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. feature-macros Implementation of the macros feature pkg-json The json macro package

Comments

@pattobrien
Copy link

The following json_codable code snippet throws an error when using a value of dynamic.

@JsonCodable()
// ^^^^^^^^^^^ ERROR: Bad state: Already set exception #0      TypeBuilderBase.failWithException
class Foo {
  final dynamic value;
}

info

- Dart 3.5.0-159.0.dev (dev) (Wed May 15 13:03:12 2024 -0700) on "macos_arm64"
- on macos / Version 14.4.1 (Build 23E224)
- locale is en-US
@lrhn lrhn added feature-macros Implementation of the macros feature area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. pkg-json The json macro package labels May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. feature-macros Implementation of the macros feature pkg-json The json macro package
Projects
None yet
Development

No branches or pull requests

2 participants