Codeception / Codeception/module-doctrine

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

未关闭
#38 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
4
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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... ;-)

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先,在模块中找到 `$I->loadFixtures()` 的实现和测试。将其当前的 append 默认值与文档中所述的 purge 行为进行比较,然后确定更改默认值会如何影响现有用法,以及哪些测试应定义新行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
database
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。