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

Can't serialize anonymous class #10

Open
oojacoboo opened this issue Sep 9, 2024 · 1 comment
Open

Can't serialize anonymous class #10

oojacoboo opened this issue Sep 9, 2024 · 1 comment

Comments

@oojacoboo
Copy link

Might be a dead end here - not sure. When attempting to serialize the webonyx schema, I'm running into this exception. The class definition that it's complaining about is, Symfony\Contracts\Translation\TranslatorInterface@anonymous.

I'm guessing that I'm trying to serialize way too much and needs to be broken down into much smaller pieces, if even doable. You can see the schema construction here.

@frodeborli
Copy link
Owner

Can you make a test case or paste the stack trace? There shouldn't be a problem with how much you serialize, if it fails then something is wrong - unless the problem is memory perhaps.

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

No branches or pull requests

2 participants