2725 search results for Doctrine

... in the screencast... but nothing really depends on it. Your error seems to suggest that there is either a foreign key or some sort of index that's referring to this. 2) And of course, this error tells me that Doctrine ...
weaverryan
weaverryan
Read Full Comment
well i restarted from scratch and it still created my table as User, totally ignoring the doctrine annotation, so i looked at the file structure, and noticed a doctrine folder in my resources!!! upon looking i saw a ...
Dizzy Bryan High
Dizzy Bryan High
Read Full Comment
... or in Doctrine config files, see "server_version" in https://symfony.com/doc/current/reference/configuration/doctrine.html . Also, double check your Doctrine config files that you don't have any custom options that may ...
... @example.com\", roles=json_array(), first_name=\"Jane\"" ``` **Symfony:** 7.0.9 **doctrine/doctrine-bundle:** "^2.12" **MariaDB:** 10.4.32-MariaDB How to enforce the `NOT NULL` constraint? Thank you in advance. Best regards, Easwaran Chinraj
Easwaran_Chinraj
Easwaran_Chinraj
Read Full Comment
... responsible for returning the array of results, which includes (if applicable) reading any query parameters and using them to build (filter) the results. For Doctrine, there is a built-in entity provider that reads the query ...
weaverryan
weaverryan
Read Full Comment
... third database. When I try the import command: **./bin/console doctrine:mapping:import --em=wp --path=src/Entity/Wp yaml** The following error shows: **"Unknown database type enum requested, Doctrine\DBAL\Platforms ...
... //www.doctrine-project.org/projects/doctrine-orm/en/3.0/reference/unitofwork-associations.html#:~:text=The%20owning%20side%20has%20to,side%20of%20a%20bidirectional%20association.) > Own which side of the ownership can an ...
MolloKhan
MolloKhan
Read Full Comment
... ``` normalization_context: skip_null_values: true ``` So far, so good. Properties, which are null, are no longer part of the response. But in that specific app I work a lot with [Doctrine Embeddables](https://www.doctrine ...
TristanoMilano
TristanoMilano
Read Full Comment
... /blob/main/src/Doctrine/Orm/State/CollectionProvider.php B) At first, it looks like there is nothing related to pagination, and this returns the final result on the bottom. BUT, just above the bottom, it checks to see if ...
weaverryan
weaverryan
Read Full Comment
... the time on API Platform :P). So, POST worked perfect and as expected. Now for the GET part, *post-hydration* was the exact word that I was looking for that. I used a Doctrine Listener on PostLoad and worked!, of ...
donwilson
donwilson
Read Full Comment
... DB: You must set proper charset and collation to the table and fields. If it's a new project then you can configure Doctrine to use the charset you need for example `utf8mb4_unicode_ci` or `utf8mb4_swedish_ci`. It can be ...
... ago by Doctrine, mostly so that we could add the `@ORM\Column` annotations inside entities. Other languages have similar syntaxes. Over the years, these got more and more popular, with things like `@Route`, assertions for ...
weaverryan
weaverryan
Read Full Comment
Hi there, I have got the following error when I call the page https://127.0.0.1:8000/mix/new Too few arguments to function Monolog\DateTimeImmutable::__construct(), 0 passed in C:\wamp64\www\code-symfony-doctrine ...
... || ~8.0.0 -> your php version (8.1.2) does not satisfy that requirement. Problem 3 - stof/doctrine-extensions-bundle is locked to version v1.5.0 and an update of this package was not requested. - stof/doctrine ...
Hey Musa! This is really interesting! Unfortunately, I don't have a great answer :/. Your expected result certainly makes sense to me... my best guess is that some limitation or design decision inside how Doctrine maps ...
weaverryan
weaverryan
Read Full Comment
... Tutorial. -- Run following commands: `composer require symfony/orm-pack composer require --dev symfony/maker-bundle composer require annotations composer require twig composer require doctrine/annotations composer ...
... ": "", "short_class": "", "class": "", "type": "", "function": "", "file": "/Users/bernardo/Sites/tutorials/code-api-platform-extending/start/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php ...
Bernard A.
Bernard A.
Read Full Comment
... provider". For example, the ItemDataProvider from Doctrine in this case: https://github.com/api-platform/core/blob/ff3aab5b196709c721960c0bb4f1d52759af737d/src/Bridge/Doctrine/Orm/ItemDataProvider.php#L98 I'd recommend ...
weaverryan
weaverryan
Read Full Comment
... database if the main user configured in doctrine is not root. Then of course I don't need that in dev if Docker compose creates the database for me, but i wonder about production. Ok, usually on production you probably ...
Matteo S.
Matteo S.
Read Full Comment
... one of the following happens. a) if I choose just one option in the select box I get an error "Expected value of type "Doctrine\Common\Collections\Collection|array" for association field "AppBundle\Entity\User#$sites ...
Kosta Andonovski
Kosta Andonovski
Read Full Comment