Message of the day:
Anything GraphQL and SilverStripe related.
likes GraphQL. The same API, but not the hassle of REST or SOAP
I'm piling them up, and will open in the end of the day 🙂
It might be worth filing an issue
I’m not sure… as far as I’m aware, admin uses
@Nemanja Karadzic Looks like the endpoint is specifically marked as being part of the CMS: https://github.com/tractorcow-farm/silverstripe-fluent/blob/98f09213eeeac3fc11663037e402ebbd007928a1/src/Middleware/InitStateMiddleware.php#L23-L32
hm... this is strange... when calling
DetectLocaleMiddleware checks for
Although if you’re using domain-based locales, I think that should happen automatically
I wonder if you could add your own middleware which looks for an HTTP header and updates the locale to be used for that request?
no custom code (yet)