nils

Yeah think you need a custom type as there's no way to define the joined fields otherwise

nils

Has anyone used extra_fields with GraphQL?

nils

Has anyone got any examples of how to use a custom nested query using ListQueryScaffolder? I keep getting this:

  1. "SilverStripe\\GraphQL\\Scaffolding\\Scaffolders\\OperationScaffolder resolver must be a closure or implement SilverStripe\\GraphQL\\OperationResolver"
unclecheese

Might have some time to debug this today. Can you share your code?

nils

Need to check if I got it stashed, ended up doing something else in the end

nils

How can I get the filename including the -v4.jpg bit before I use setFromLocalFile()? As long as the filename isn't the same as the original file everything seems to be fine.

nils

Ah, it only happens if someone resize a file but keep the same filename. Tries to save a variant instead of a renamed file or something...

nils

Because the actual filename on disk is using the original filename and not appending the -v2 part

nils

(if the actual file content is different)

nils

I'm getting some crazy things where if you upload a file with the same filename as an existing file all the old ones disappear from the server