Patrick O'Meara
Patrick O'Meara
Cool. I started hacking on it but need to get into the codebase a little more. I'll see what I can come up with.
Hey @igorsgm I haven't looked at this for a while, but it was a sticking point for us. Have you tried the solution @mortenscheel mentioned?
I recently implemented https://docs.saloon.dev/ to combat this SDK being so far behind. I highly recommend this library. It handles rate limiting and error handling really well.
@DivineOmega I agree that this should be merged in
For anyone wanting to use this before it's merged, add this to your `composer.json` ``` "require": { "divineomega/laravel-last-activity": "dev-master" }, "repositories": [ { "type": "vcs", "url": "https://github.com/patrickomeara/laravel-last-activity" } ] ```
Following on from @MatanYadaev's test code > ```php > $testPlace = TestPlace::factory()->create([ > 'point' => new Point(0, 180), > ])->fresh(); > > $json = json_encode([ > 'serialized_test_place' => serialize($testPlace), >...
Well, actually... if we cast the binary value back to the spatial equivalent the serialization happens nicely. ```php public function __sleep() { unset($this->original['point'], $this->changes['point']); $this->attributesToArray(); return parent::__sleep(); } ``` Updated...
@MatanYadaev The job was from a third party package but I have extended it and now use `SerializesModels`. Thanks.
Looks like I don't have access to that repo @freekmurze. Seem like the improve this page links on https://myray.app/docs/getting-started/introduction are broken as well.
Just checking in here @freekmurze, I'm happy to write the docs up when possible.