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

Convert a payload to and from a Concerto-compliant one #601

Closed
stefanblaginov opened this issue Feb 8, 2023 · 3 comments
Closed

Convert a payload to and from a Concerto-compliant one #601

stefanblaginov opened this issue Feb 8, 2023 · 3 comments
Assignees
Labels

Comments

@stefanblaginov
Copy link
Contributor

stefanblaginov commented Feb 8, 2023

We would like to be able to convert any payload that has an existing Concerto model to a Concerto-compliant one (i.e. containing $class fields etc).

This already exists in an experimental version in a private repo and can be moved to concerto-tools.

@stefanblaginov stefanblaginov self-assigned this Feb 8, 2023
@mttrbrts
Copy link
Member

@stefanblaginov is this a duplicate of #542 ?

@DS-AdamMilazzo
Copy link

I don't think it's quite the same. #542 still requires $class fields where it would be ambiguous without them. I don't know what it means to talk about a "payload that has an existing Concerto model" that's not already "a Concerto-compliant one". Perhaps it means something like "Here's a bare JSON object. I know it doesn't say so, but it's actually a [email protected]. Now go fix it up to make it legal."? An example would help. :-)

Copy link
Contributor

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions bot added the Stale label Dec 10, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants