SyliusCustomOptionsPlugin icon indicating copy to clipboard operation
SyliusCustomOptionsPlugin copied to clipboard

Using plugin with attributes

Open cwa-cc opened this issue 2 years ago • 7 comments
trafficstars

Hi,

Can you please confirm me that the plugin doesn't work with attributes in the entities ?

Think in advance.

cwa-cc avatar Jul 11 '23 16:07 cwa-cc

Yes, this plugin uses the doctrine XML Configuration for entities. But I am more than happy to merge a PR if you want to switch the entities over to attributes.

mamazu avatar Jul 11 '23 17:07 mamazu

Oh yes please 👍

Thanks so much, because I'm using (and maybe more people) attributes ...

cwa-cc avatar Jul 11 '23 17:07 cwa-cc

We are already in the process of updating our plugins, if you have time and can contribute yourself, that would be much appreciated.

mamazu avatar Jul 11 '23 18:07 mamazu

Hi @mamazu, I come back to you to know if the plugin already works with attributes in the entities ? Thanks for your reply Have a good day

cwa-cc avatar Sep 04 '23 09:09 cwa-cc

I'm sorry to tell you that we haven't had the time to work on this.

mamazu avatar Sep 04 '23 09:09 mamazu

And do you think that you will do soon ? If not, can you please tell me what I need to do exactly to use the attributes ? Thanks in advance Have a nice day

cwa-cc avatar Sep 06 '23 08:09 cwa-cc

As far as I know, you only have to take a look at the attributes that are currently located under src/Resources/config/doctrine/ and add their respective counter parts to the Entities in the src/Entities directory.

mamazu avatar Sep 15 '23 21:09 mamazu

Closing this as the latest version actually does support attributes now. :tada:

mamazu avatar May 15 '24 12:05 mamazu