Coder Social home page Coder Social logo

Comments (5)

terrabythia avatar terrabythia commented on August 11, 2024 1

@guyluz11 hm... interesting. protoc_plugin is probably only needed to generate the files in lib/proto. We can remove it!

from dart_chromecast.

terrabythia avatar terrabythia commented on August 11, 2024

@guyluz11 maybe I'm missing something, but null safety support was added 9 months ago in version 0.2.5 (see the changelog: https://github.com/terrabythia/dart_chromecast/blob/master/CHANGELOG.md).

from dart_chromecast.

terrabythia avatar terrabythia commented on August 11, 2024

I see what you mean now. It's complaining that one of the transitive dependencies doesn't support null safety. Unfortunately this is because the current protoc_plugin uses an old version of that library and there is no newer version yet.

Schermafbeelding 2022-01-07 om 16 27 59

If you can find a way to fix this anyway feel free to create a PR!

from dart_chromecast.

guyluz11 avatar guyluz11 commented on August 11, 2024

I have opened an issue for google after opening this issue

google/protobuf.dart#540 and this is related too.

As @JishnuM wrote for json_serializable maybe we can use dependency override here and it should work too.
In another project of mine I am generating the protoc files with protoc program and not the dart package protoc_plugin, so this is another option.

And I think protoc_plugin belongs in dev_dependencies and not in dependencies in case we go with keeping it.

Tell me what option you prefer that I will work on.

I think the better option is to get rid of it as it does not look like google keeps maintaining it.

from dart_chromecast.

guyluz11 avatar guyluz11 commented on August 11, 2024

@terrabythia can you try removing protoc_plugin and test if everything is working correctly?, I think it is not needed at all.

from dart_chromecast.

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.