Thomas Praxl

Results 31 comments of Thomas Praxl

I would very much appreciate this feature. @themsaid can you tell us if you're currently working on this PR? Is there anything I could do in order to help? Any...

+1 I would very much appreciate the proposed enhancement

Anyone figured out how to solve this? * Write service-worker extension in es6, put it in src and have it compiled with babel * Use it in importScripts My current...

Here's a dirty workaround for anyone in need of writing an es6 custom service worker as an extension of the predefined service worker: Add your es6 service worker as `src/custom-service-worker.js`....

@Radiergummi Yeah, that's the drawback, that's why I consider it a dirty workaround. I had problems passing it through webpack and sharing common libs (e.g. wrapper for indexed-db). I used...

Yes: ```php … use GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\BaseTypesHandler; use GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\XmlSchemaDateHandler; class Serializer { /** * @var JMSSerializer */ private $serializer; public function build($version = 'latest'): Serializer { $serializerBuilder = SerializerBuilder::create(); $serializerBuilder->addMetadataDir( dirname(__FILE__) ....

Thanks. How am I supposed to configure that? Tried ```yml xsd2php: … aliases: 'http://www.opentravel.org/OTA/2003/05/common': DateOrDateTimeType: 'GoetasWebservices\Xsd\XsdToPhp\XMLSchema\DateTime' ``` But that doesn't work. It still resolves to ```yml type: GoetasWebservices\Xsd\XsdToPhp\XMLSchema\Date ```

Ok. Found the correct alias configuration: ```yml aliases: 'http://www.opentravel.org/OTA/2003/05': DateOrTimeOrDateTimeType: 'GoetasWebservices\Xsd\XsdToPhp\XMLSchema\DateTime' ``` But now, it chokes when I try to set the date in another test: ```php $statusApplicationControl1 = new...

So I tested the following: I removed the alias config that was meant to solve the first problem but caused the wrong type hint in the generated StatusApplicationControlType and other...

Well.. sorry for the complicated description above. I decided to provide a simple project that shows the problem and proves at least one of the errors. You can find the...