Ashley Kitson
Ashley Kitson
@mnapoli 3rd option is just to document it. i.e. don't try and use enums as sets, the behaviour is unpredictable. 4th option, reinforce 3rd option and put in a check...
Consider this as a traditional explanation of the difference between ENUM and SET as applied to SQL (where they get used a lot,) > An ENUM value must be one...
@mnapoli > I'm still not really convinced we must apply the same logic to PHP. Why not? In any language (programming or linguistic,) there are some constants. We are discussing...
What about nested arrays? Or arrays of objects? Or even just objects? Or resources? How do you come up with a universal __toString() method for all of those? Have a...
Anyway - here is an [example](https://github.com/chippyash/monadic-sets) of how you might do sets by combining a collection and enum
I have exactly the same issue. More Info: - Using a debugger I stepped through code to L660 in GitRepository. - The exec fails and throws error as above. -...
There is a **HACK** to get round this: You need to set the user.name and user.email for the newly cloned repo. In my code I do: ``` $this->repository = GitRepository::cloneRepository($this->repoUrl,...
```bash npx serverless --version Framework Core: 3.3.0 (local) Plugin: 6.1.0 SDK: 4.3.1 ``` ```bash cat node_modules/serverless-reqvalidator-plugin/package.json { "name": "serverless-reqvalidator-plugin", "version": "2.0.0", "description": "Serverless plugin for setting request validation", "main": "src/index.js",...
@RafPe That is a reference to an externally created request validator created in another stack. As per your documentation. That works fine btw.
I have a workaround for this at the moment which involves using the `serverless-plugin-scripts` plugin ```yaml custom: scripts: hooks: 'after:package:finalize': bash ./scripts/remove-request-validator.sh ``` the script ```bash #!/usr/bin/env bash echo "Removing...