Closed
Description
Describe the bug/problem
Please describe the bug/problem here
Including the latest openapi_spec package (v0.9.0) in the apidash_core
dependencies causes a dependencies version conflict (for freezed_annotation
package), the following error message was received during this import
Resolving dependencies... (1.7s)
Because every version of apidash_core from path depends on freezed_annotation
^2.4.1 and every version of openapi_spec from path depends on
freezed_annotation ^3.0.0, apidash_core from path is incompatible with
openapi_spec from path.
So, because apidash depends on apidash_core from path which depends on
openapi_spec from path, version solving failed.
Failed to update packages.
Steps to Reproduce the bug/problem
Please provide the steps to reproduce the behavior. Screenshot(s)/image(s) are preferred to help explain it better
- cd into
packages\apidash_core
- git clone https://github.com/tazatechnology/openapi_spec.git
- Include the new package
openapi_spec
by adding the following in the dependencies section ofpackages\apidash_core\pubspec.yaml
andpackages\apidash_core\pubspec_overrides.yaml
openapi_spec:
path: ../openapi_spec
- Run
flutter pub get
while in theapidash
root directory
Expected behavior
Description of what you expected to happen
Newly added package getting resolved and downloaded into the project
Device Info (The device where you encountered this issue)
- OS: [e.g. Windows, MacOS] Windows
- Version: [e.g. Catalina 10.15.7, Monterey 12.3.1, Windows 11 22H2] Windows 11 22H2
Metadata
Metadata
Assignees
Labels
No labels