mevdschee / mevdschee/php-crud-api

Suggestion: Make (middleware) config case-agnostic

Open
#893 5 comments 1 reaction 1 assignee View on GitHub

@mevdschee is already working on this.

Since Aug 5, 2022.

enhancement
Dominant language
PHP
Stars
3.7k
Forks
1k
Avg merge
1h 55m
Merged PRs (30d)
7

Description

There's probably no particular reason that middleware and other config options are case-sensitive.

I think it would be easier for inexperienced users, if this was made case-insensitive, as it might otherwise fail silently.
The API will still work but the otherwise correctly spelled configuration might have no effect.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.