Toon Verwerft

Results 280 comments of Toon Verwerft

Hello @devnix, I was thinking : wouldn't is make more sense to let the underlying type determine wether it is some or none? For example: ```php $type = option(string()); $type->coerce('some');...

This might become a bit too slow on big data structures. An alternative approach could be to re-run the assertions / coercions and collect that more advanced path information on...

would be lovely indeed! The typed one would throw a coerce exception? Is that intended? Where do you draw the line in consistency? Since other functions currently return nullables? In...

The typed version could return `Option` But then again: where do we draw the line in consistent return types in PSL...

Yeah that sounds good. I don't hate `acquire` tbh Some possible alternatives - don't have one I really like atm: * **fetch()**: Maybe too generic * **tryGet()**: Might rather imply...

Hm yeah aqcuire is one of the betters. Some synonyms, maybe you see one you likke better :) ![Screenshot 2022-12-16 at 07 05 13](https://user-images.githubusercontent.com/1618158/208033326-5e2daafc-51cc-4f89-8fd8-65b340dff494.png)

Thanks for reporting, Can you swap: ```php ->setEngine($engine = DefaultEngineFactory::create($options)) ``` With ```php ->setEngine($engine = CodeGeneratorEngineFactory::create( $options->getWsdl(), // Optional if you wanna load a local file instead of over HTTP...

Something like this: ```php use Http\Client\Common\Plugin\AuthenticationPlugin; use Http\Client\Common\PluginClient; use Http\Discovery\Psr18ClientDiscovery; use Http\Message\Authentication\BasicAuth; use Soap\Psr18Transport\Wsdl\Psr18Loader; use Soap\Wsdl\Loader\FlatteningLoader; ->setEngine($engine = CodeGeneratorEngineFactory::create( 'http://yourremotewsdl', new FlatteningLoader(Psr18Loader::createForClient( new PluginClient( Psr18ClientDiscovery::find(), [ new AuthenticationPlugin( new BasicAuth('username',...

That looks like a bug in the code generation part indeed: ```xml ``` Results in ``` TContractNumbers ================ > urn:RON_PersonalData_Utils:TContractNumbers extends Array +------------+--------------------------------------------------------------------+ | Meta | Value | +------------+--------------------------------------------------------------------+ |...

Sure, feel free to provide a PR. We can see where to go from there.