Comments (4)
Hi @glesica!
today I also came on this issue, and I figured out one conclusion: dcdg
to not like anything related to code generation: It didn't work with project that had used any kind of annotation: auto_route
, freezed
, injectable
, hive
, json_annotation
or package that generated translations: localizely
. (so pretty popular and widely used packages from pub.dev). The moment I removed all of those dependencies from my code then dcdg correctly generated syntax for PlantUML.
Thats a bummer that it cant ignore *.g.dart or *.freezed.dart files.
This is related to whole bunch of issues here:
#55
#46 (comment)
#43
#41
And on stackoverflow:
https://stackoverflow.com/q/72679594/6229867
from dcdg.dart.
I'm not sure exactly why it's failing but I see that the freezed
package requires a newer version of the analyzer
package, so it's possible that is the problem.
from dcdg.dart.
I'm not sure exactly why it's failing but I see that the
freezed
package requires a newer version of theanalyzer
package, so it's possible that is the problem.
dcdg does not work with the new analyzer >=3.0.0 - but it is required for freezed to work.
And freezed is a structured package...
Can this be fixed?
Because tortuga depends on freezed ^2.0.2 which depends on analyzer >=3.0.0 <5.0.0, analyzer >=3.0.0 <5.0.0 is required. So, because tortuga depends on analyzer ^2.6.0, version solving failed. pub get failed (1; So, because tortuga depends on analyzer ^2.6.0, version solving failed.) exit code 1
from dcdg.dart.
I can try to bump the analyzer dependency, but then we also risk breaking things that depend on an older analyzer version.
from dcdg.dart.
Related Issues (20)
- exclude samples HOT 2
- plantuml.com gives "Forbidden" error on dcdg output HOT 2
- package choosing HOT 1
- unhandled exception HOT 1
- its hanging on intl HOT 9
- update dependencies in pubspec to latest versions HOT 3
- How to get UML diagram for only the lib folder HOT 12
- Bug: Duplicated fields when using 'part' keyword in dart HOT 2
- Extensions? HOT 1
- Add support for Mermaid HOT 5
- dcdg does not work with the new analyzer >=3.0.0 - but it is required for freezed to work. HOT 3
- Dot output contains the full path HOT 3
- Enhancement: Include and exclude multiple paths HOT 1
- Add separator between file and class in DOT output
- UML dependency relationship
- Mermaid - Class associations of objects with generics
- Methods not generated properly HOT 1
- New DCDG update.
- Feature request: Support D2 diagram language
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcdg.dart.