79502087

Date: 2025-03-11 20:53:02
Score: 1
Natty:
Report link

From max in the comments

You seem to be somewhat confused about how this is supposted to work. Your YAML file just contains a reference to the class and doesn't actually serialize the class itself. You still need to actually load the code containing the class before you parse the YAML. Either through require or by autoloading with Zeitwerk.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Starship