GithubHelp home page GithubHelp logo

Comments (3)

Bisb avatar Bisb commented on August 15, 2024

This occurs when the symfony/uid package is not installed. It triggers an error when executing bin/console make:entity --with-uuid without parameters, but not when specifying the entity name (e.g., bin/console make:entity --with-uuid Test).

For consistency and clarity, the latter command should probably also trigger the same error ([ERROR] You must install symfony/uid to use UUIDs as "id" (composer require symfony/uid)).

from maker-bundle.

lpotherat avatar lpotherat commented on August 15, 2024

Hello Bisb,

The uid package is correctly installed, and if it was not very clear, it works like a charm when you do not specify the entity.
I pushed a test repository here so it is easy to test :
https://github.com/lpotherat/symfony-maker-ulid-test
The uid package is installed and the bug is still there.

I think the consistency bug is not related to the mentionned issue, but it can for sure be addressed 👍

from maker-bundle.

Bisb avatar Bisb commented on August 15, 2024

@lpotherat

You're right, I realize now that I misunderstood the last part of your post.

It seems the root of the problem is the same, the options --with-uuid / --with-ulid are simply ignored when providing the class name.

from maker-bundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.