-
Notifications
You must be signed in to change notification settings - Fork 40
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
Non-compiling v1.0.0 #129
Comments
Hey, @saropa! I can't reproduce this error. I just tried using dependencies:
envied: ^1.0.0
dev_dependencies:
envied_generator: ^1.0.0
dependency_overrides:
envied:
git:
url: https://github.com/petercinibulk/envied.git
ref: main
path: packages/envied
envied_generator:
git:
url: https://github.com/petercinibulk/envied.git
ref: main
path: packages/envied_generator and it compiles just fine. Can you please clarify how I could reproduce this? |
Thanks for looking. Sorry, this report could have been more detailed. I got your latest code (from today) from GitHub and opened in VS Code, here is a sample of the errors.
For example: @EnviedField(environment: false)
static final String? env1 = null; In [EnviedField] the field [environment] does not exist. |
Hey @saropa! I'm not sure what you mean, because the test you are referring to
EnviedField.environment filed does exist
However, I think I might know what's confusing you. The crux of those tests is that they rely on an environment (aka Line 13 in ec6276d
|
It could be the pubspec.yaml for [envied_generator] pointing to v1.0.0 online, which doesn't have the field? envied: ^1.0.0 Oh, and btw, thanks for the package — it's really important to our build! |
Have you tried running |
I don't know what that is, sorry! Ofc, happy for you to close this if it's just a quirk of my dev environment. The source was going to be used to resolve the dependency conflicts (with other packages) as discussed in #130 |
For reference #130 is completely unrelated. |
Hi,
It looks like the current package source code has a partial implementation of a PR, namely the “environment” variable added to
envied_base.dart
.I had to migrate this field over to the stable build to get it to compile:
Cheers,
Saropa
The text was updated successfully, but these errors were encountered: