humanmade / humanmade/Mercator

Should Mapping::create() return the mapping if it exists or an error?

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
527
Forks
61
PR merge metrics
No merged PRs in 30d

Description

I'm thinking an error would be more useful here. It's currently impossible to tell if the mapping has just been created or if it existed already.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.