Skip to content

provide approach for unserialized array inputs #664

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

Merged
merged 1 commit into from
Nov 19, 2018

Conversation

krcrawford
Copy link

While not clear in existing docs, this PR illuminates a simple strategy for iterating over unserialized array input components.

krcrawford pushed a commit to krcrawford/admin that referenced this pull request Nov 16, 2018
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | api-platform/docs#664

This PR supports a simple strategy to edit serialized array inputs from DB entities.
While it may not currently address more comlicated array structures, this solution
supports simple one-dimensional, keyless(numerically indexed), arrays
krcrawford pushed a commit to krcrawford/admin that referenced this pull request Nov 16, 2018
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | api-platform#122
| License       | MIT
| Doc PR        | api-platform/docs#664

This PR supports a simple strategy to edit serialized array inputs from DB entities.
While it may not currently address more comlicated array structures, this solution
supports simple one-dimensional, keyless(numerically indexed), arrays
krcrawford pushed a commit to krcrawford/admin that referenced this pull request Nov 16, 2018
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | api-platform#122
| License       | MIT
| Doc PR        | api-platform/docs#664

This PR supports a simple strategy to edit serialized array inputs from DB entities.
While it may not currently address more comlicated array structures, this solution
supports simple one-dimensional, keyless(numerically indexed), arrays
@dunglas dunglas requested a review from mauchede November 16, 2018 15:44
@dunglas dunglas merged commit c024035 into api-platform:2.3 Nov 19, 2018
@dunglas
Copy link
Member

dunglas commented Nov 19, 2018

Thanks for improving the docs @krcrawford, nice one!

@krcrawford
Copy link
Author

yw, @dunglas. Glad to help.

czy30121 added a commit to czy30121/react-admin-api that referenced this pull request Jul 11, 2023
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #122
| License       | MIT
| Doc PR        | api-platform/docs#664

This PR supports a simple strategy to edit serialized array inputs from DB entities.
While it may not currently address more comlicated array structures, this solution
supports simple one-dimensional, keyless(numerically indexed), arrays
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