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

Update transports.md #28

Closed
wants to merge 1 commit into from
Closed

Conversation

janvernieuwe
Copy link
Member

Update serializer handler docs

Q A
Type docs update
BC Break no
Fixed issues n/a

Q: Is it an idea to set \stdClass as a default for return type?

Update serializer handler docs
@veewee
Copy link
Contributor

veewee commented Nov 25, 2022

Doesn't feel good to make it the default type.
We might add a method that tells the transport not to expect any output?
In other cases, a DTO seems like tha way to go. If you really want to use stdClass, then that is perfectly possible to manually determine as a return type.

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