Code Monkey home page Code Monkey logo

Comments (3)

doc-rj-celltrak avatar doc-rj-celltrak commented on July 23, 2024

Thanks for the great package, We're using this instead of built_value, and we're using it with json_serializable. I have a question though...

I need to use this guy: @JsonSerializable(ignoreUnannotated: true)

Is there a way to use ignoreUnannotated or any other class-level json annotations while using @freezed? Currently, it seems to be generating an extra FromJson, when i do this:

@freezed @JsonSerializable(ignoreUnannotated: true)

...which probably makes sense, but it means I have to put @jsonkey(ignore: true) all over the place rather than using @JsonSerializable.

Thanks in advance for any suggestions.

from freezed.

doc-rj-celltrak avatar doc-rj-celltrak commented on July 23, 2024

Ah, and i just saw this: #50 ... are there any plans in the near future? Thanks!

from freezed.

rrousselGit avatar rrousselGit commented on July 23, 2024

#50 should be pretty simple to do (as it's done already with parameters).
I'm kinda working on other stuff at the moment though.

Feel free to make a pull request!

from freezed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.