-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Cannot use auth token in .properties file and rest of config in pubspec.yaml #294
Comments
We do have test checking the merging AFAIK. Could they provide us with the config(s) that they have? |
@denrase https://github.com/getsentry/sentry-dart-plugin/blob/main/lib/src/utils/config-reader/config_reader.dart#L16C1-L42C1 I see, the issue is that while we do merge configs, we don't merge pubspec and properties, we only read either one of them. I don't know if it makes sense or not to merge them as well, maybe? I'm not sure tbh |
Tested this locally so I can confirm this doesnt work |
Since Flutter Sentry Wizard relies on this feature, we will implement it but we have to consider the order when merging things. if pubspec and properties both have the same config, which one takes precedence? |
@buenaflor Pubspec values takes precedence over properties, as pubspec was also chosen before properties before. |
User reported that they have an auth token in their properties file and the rest of the config in the pubspec but this didn't seem to work.
We do merge the config of the files so we should investigate if the merging is correct
The text was updated successfully, but these errors were encountered: