Skip to content

fix(docs): correct OSCQueryServiceBuilder.WithDefaults() usage#64

Merged
orels1 merged 1 commit into
vrchat-community:mainfrom
shun20010921:fix/issue-40-withdefaults-usage
Oct 9, 2025
Merged

fix(docs): correct OSCQueryServiceBuilder.WithDefaults() usage#64
orels1 merged 1 commit into
vrchat-community:mainfrom
shun20010921:fix/issue-40-withdefaults-usage

Conversation

@shun20010921

Copy link
Copy Markdown
Contributor

Fix: WithDefaults() Usage Documentation

Problem

The OSCQueryServiceBuilder.WithDefaults() method immediately starts the HTTP server and advertising, causing any subsequent configuration methods to be ignored. The current documentation showed examples using this problematic pattern.

Solution

  1. README.md Basic Use section:

    • Added clear explanation about configuration order
  2. getting-started.md Fluent Interface Options:

    • Added warning to WithDefaults() description
    • Fixed example code

Fixes #40 Method realization of OSCQueryserviceBuilder.WithDefaults() is confusing

- Update README.md Basic Use section with correct example
- Fix getting-started.md fluent interface examples
- Add warnings about WithDefaults() immediate server startup
- Clarify that settings must be configured before WithDefaults()
@github-actions

github-actions Bot commented Sep 14, 2025

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@shun20010921

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@orels1

orels1 commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

Thank you for clarifying this!

@orels1 orels1 merged commit 464a6fd into vrchat-community:main Oct 9, 2025
1 of 2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Method realization of OSCQueryserviceBuilder.WithDefaults() is confusing

2 participants