yiisoft / yiisoft/data-response

PSR-13 and JsonSerializable in xml

Open
#84 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
19
Forks
13
Avg merge
1h 6m
Merged PRs (30d)
1

Description

Good day. I have two questions:

  1. What about the PSR-13?
  2. Wouldn't it be more correct in case XmlDataResponseFormatter gets a JsonSerializable object but not an XmlDataInterface to take the result from the jsonSerialize() method?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the XmlDataResponseFormatter behavior and the linked PSR-13 specification. Determine how JsonSerializable objects that do not implement XmlDataInterface should be handled, and clarify whether PSR-13 support is in scope. Done means the project has an agreed behavior and corresponding implementation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.