mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-18 09:54:35 +02:00
Automatically detect the discriminator type of attachments and parameters based on the chosen element IRI
Related to issue #502
This commit is contained in:
parent
e843286ea7
commit
f3bea68011
26 changed files with 152 additions and 40 deletions
|
@ -41,10 +41,10 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Entity\Parameters;
|
||||
|
||||
use App\Repository\ParameterRepository;
|
||||
use App\Entity\Base\AbstractDBElement;
|
||||
use App\Entity\Parts\MeasurementUnit;
|
||||
use App\Serializer\OverrideClassDenormalizer;
|
||||
use App\Repository\ParameterRepository;
|
||||
use App\Serializer\APIPlatform\OverrideClassDenormalizer;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
|
||||
use Symfony\Component\Serializer\Attribute\Context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue