From bcf8cf2f94d1dc04142e6d451b70db89d739ec9e Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" Date: Wed, 2 Oct 2019 00:38:51 +0200 Subject: [PATCH 1/2] Add biig/domain recipe It is useful because by default some features are not enabled and it's not always obvious they are not. --- biig/domain/1.0/config/packages/biig_domain.yaml | 9 +++++++++ biig/domain/1.0/manifest.json | 8 ++++++++ biig/domain/2.0/config/packages/biig_domain.yaml | 9 +++++++++ biig/domain/2.0/manifest.json | 8 ++++++++ 4 files changed, 34 insertions(+) create mode 100644 biig/domain/1.0/config/packages/biig_domain.yaml create mode 100644 biig/domain/1.0/manifest.json create mode 100644 biig/domain/2.0/config/packages/biig_domain.yaml create mode 100644 biig/domain/2.0/manifest.json diff --git a/biig/domain/1.0/config/packages/biig_domain.yaml b/biig/domain/1.0/config/packages/biig_domain.yaml new file mode 100644 index 00000000..e723c16b --- /dev/null +++ b/biig/domain/1.0/config/packages/biig_domain.yaml @@ -0,0 +1,9 @@ +biig_domain: + # Learn more about configuration in the bundle configuration reference + # https://github.com/biig-io/DomainComponent/blob/v1/docs/domain_event_dispatcher.md#configuration-reference + + # Post persist events are *not* activated by default, you need to enable the post persist listeners + persist_listeners: + # As doctrine supports many connections, you need to enable your connections one by one + doctrine: ['default'] + diff --git a/biig/domain/1.0/manifest.json b/biig/domain/1.0/manifest.json new file mode 100644 index 00000000..48c4d407 --- /dev/null +++ b/biig/domain/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/biig/domain/2.0/config/packages/biig_domain.yaml b/biig/domain/2.0/config/packages/biig_domain.yaml new file mode 100644 index 00000000..7d142d85 --- /dev/null +++ b/biig/domain/2.0/config/packages/biig_domain.yaml @@ -0,0 +1,9 @@ +biig_domain: + # Learn more about configuration in the bundle configuration reference + # https://github.com/biig-io/DomainComponent/blob/master/docs/domain_event_dispatcher.md#configuration-reference + + # Post persist events are *not* activated by default, you need to enable the post persist listeners + persist_listeners: + # As doctrine supports many connections, you need to enable your connections one by one + doctrine: ['default'] + diff --git a/biig/domain/2.0/manifest.json b/biig/domain/2.0/manifest.json new file mode 100644 index 00000000..48c4d407 --- /dev/null +++ b/biig/domain/2.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 311b9ea561dffdb5f09ce647a6c739ff7b8db437 Mon Sep 17 00:00:00 2001 From: "Nek (Maxime Veber)" Date: Sun, 17 Nov 2019 14:22:38 +0100 Subject: [PATCH 2/2] Removing v2 recipe as it's exacly the same as v1 Related to https://github.com/symfony/recipes-contrib/pull/763#issuecomment-554620024 --- biig/domain/2.0/config/packages/biig_domain.yaml | 9 --------- biig/domain/2.0/manifest.json | 8 -------- 2 files changed, 17 deletions(-) delete mode 100644 biig/domain/2.0/config/packages/biig_domain.yaml delete mode 100644 biig/domain/2.0/manifest.json diff --git a/biig/domain/2.0/config/packages/biig_domain.yaml b/biig/domain/2.0/config/packages/biig_domain.yaml deleted file mode 100644 index 7d142d85..00000000 --- a/biig/domain/2.0/config/packages/biig_domain.yaml +++ /dev/null @@ -1,9 +0,0 @@ -biig_domain: - # Learn more about configuration in the bundle configuration reference - # https://github.com/biig-io/DomainComponent/blob/master/docs/domain_event_dispatcher.md#configuration-reference - - # Post persist events are *not* activated by default, you need to enable the post persist listeners - persist_listeners: - # As doctrine supports many connections, you need to enable your connections one by one - doctrine: ['default'] - diff --git a/biig/domain/2.0/manifest.json b/biig/domain/2.0/manifest.json deleted file mode 100644 index 48c4d407..00000000 --- a/biig/domain/2.0/manifest.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "bundles": { - "Biig\\Component\\Domain\\Integration\\Symfony\\DomainBundle": ["all"] - }, - "copy-from-recipe": { - "config/": "%CONFIG_DIR%/" - } -}