What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi. Does anyone know if it is possible to override a databuilder property? Spryker is still using ru
Hi. Does anyone know if it is possible to override a databuilder property? Spryker is still using rules with a deprecated format from Fakerphp, I would like to change it on project level at least
Comments
-
Can you elaborate on the deprecated usage?
SInce only fzaninotto/Faker is deprecated, and https://github.com/FakerPHP/Faker is now used.
Maybe we can identify and PR the missing pieces so that we can use all the right methods/format?0 -
yes, that one deprecated rules as properties, they should be called as functions only now:
Wrong : $faker->word
Right: $faker->word()0 -
That should be easy to fix up in a BC way, I imagine.
0 -
Do you have an idea for a PR at hand we can introspect and fast-track?
0 -
sure... but it should be done on all modules that have databuilders
0 -
anyhow, I wanted this only for a quick test/fix... I updated merchant-relationship module, which introduced a databuilder for the merchantRelationship... turns out that now at least one test on my pipeline is failing while creating a new merchant relationship complaining that cannot find a unique value for the key
0 -
very strange, since it should even take a provided value and also locally seems to work just fine
0 -
Maybe we could introduce a feature flag to switch over the property to method usage for project level or beyond.
I dont know the implications - so just spit balling here.
If you find a way, please reach out, best with a PR to the respective repo/module. And then we can take things from there.0 -
ok, thanks
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random