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

Adding api to get dtd uri from devtools server #7054

Merged
merged 8 commits into from Jan 18, 2024

Conversation

CoderDake
Copy link
Contributor

@CoderDake CoderDake commented Jan 17, 2024

This change will support the devtools server being able to server a dtd uri to devtools when it starts up.
If the uri isn't set then null will be returned.

@CoderDake CoderDake marked this pull request as ready for review January 17, 2024 21:36
@CoderDake CoderDake requested a review from a team as a code owner January 17, 2024 21:36
@CoderDake CoderDake requested review from polina-c and removed request for a team January 17, 2024 21:36
packages/devtools_app/lib/src/shared/server/_dtd_api.dart Outdated Show resolved Hide resolved
packages/devtools_shared/lib/src/server/server_api.dart Outdated Show resolved Hide resolved
packages/devtools_shared/lib/src/server/server_api.dart Outdated Show resolved Hide resolved
@@ -36,6 +37,7 @@ class ServerApi {
required ExtensionsManager extensionsManager,
required DeeplinkManager deeplinkManager,
ServerApi? api,
String? Function()? dtdUri,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a function instead of a String so that it will always be up to date with the latest value on the server?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are correct :)

@CoderDake CoderDake merged commit 9d0530f into flutter:master Jan 18, 2024
23 checks passed
@CoderDake CoderDake deleted the dtd-api branch January 18, 2024 18:11
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.

None yet

2 participants