Codeception / Codeception/module-doctrine

Suggestion: `loadFixtures()`: Change the default for `append` to false

Abierto
#38 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PHP
Estrellas
4
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The default mode when loading fixtures is to **purge**: https://symfony.com/bundles/DoctrineFixturesBundle/current/index.html#loading-fixtures

> By default the `load` command purges the database

But with `$I->loadFixtures()`, the default is to **append**. I think this is confusing and should be changed. However, I don't see any easy upgrade path... ;-)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by locating the implementation and tests for `$I->loadFixtures()` in the module. Compare its current append default with the documented purge behavior, then determine how changing the default affects existing usage and what tests should define the new behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
php
Área
database
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.