CoolRunner-dk / business-central-php

SDK for Microsoft Business Central
MIT License
11 stars 14 forks source link

type attribute conflicts with the class property and magic methods #7

Open pazion opened 3 years ago

pazion commented 3 years ago

When we create an item ( workflowItems ), we set the 'type' attribute, but this conflicts with the class property and magic methods.

The workaround was not using the fill method from the EntityCollection, but directly use "Entity::make".