Skip to content
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

feat!: move discovery configurations to scripting_api package #180

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Jun 6, 2024

In the context of the recent discussion in the Scripting API repo, I realized that it probably makes more sense to pass the configurations for the discover method to the method itself, instead of setting them via the underlying Servient.

As there is still an ongoing discussion in the Scripting API taskforce, I labelled the changes as experimental, as there will probably be additional changes (that might lead to a totally different API than the one that is currently in place) as we go along.

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2024

Codecov Report

Attention: Patch coverage is 17.64706% with 14 lines in your changes missing coverage. Please review.

Project coverage is 63.30%. Comparing base (0191f0d) to head (bcac81f).

Files Patch % Lines
lib/src/core/implementation/thing_discovery.dart 0.00% 11 Missing ⚠️
lib/src/core/implementation/servient.dart 0.00% 2 Missing ⚠️
lib/src/core/implementation/wot.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
- Coverage   63.38%   63.30%   -0.08%     
==========================================
  Files          78       78              
  Lines        2272     2273       +1     
==========================================
- Hits         1440     1439       -1     
- Misses        832      834       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JKRhb JKRhb force-pushed the discovery-configuration branch 2 times, most recently from 9c11c6e to 8463b10 Compare June 7, 2024 08:38
@JKRhb JKRhb force-pushed the discovery-configuration branch from 8463b10 to bcac81f Compare June 7, 2024 08:42
@JKRhb
Copy link
Member Author

JKRhb commented Jun 7, 2024

I think this PR should now be ready to be merged and to potentially serve as the basis for future discussions :)

@JKRhb JKRhb marked this pull request as ready for review June 7, 2024 08:46
@JKRhb JKRhb merged commit 8a182a6 into main Jun 7, 2024
5 checks passed
@JKRhb JKRhb deleted the discovery-configuration branch June 7, 2024 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants