Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Add support for sandbox API keys in the request command #17

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

robbieaverill
Copy link
Contributor

Also enables PATCH method support in this command, which may be used in the Chec API in future. If that happens, users should not need to update their CLI to use PATCH APIs.

Resolves #14

@ScopeyNZ
Copy link
Contributor

Hmmn. For some reason I thought this was set so sandbox was always used. I still feel like sandbox should be the default. What do you think?

@robbieaverill
Copy link
Contributor Author

I think using the sandbox is more of an edge case than using it for production TBH

@ScopeyNZ
Copy link
Contributor

Hmmmn. Maybe it's a per-command sort of thing. For instance creating a demo-store (and seeding) with production keys is more of an edge case. Although, in the context of seeding, I'm not sure how sandbox secret keys actually differ from non-sandbox 😖

Prod seems fine. The demo-store command can just use sandbox keys though.

@robbieaverill
Copy link
Contributor Author

At the moment the sandbox keys don't do much, but they probably will in future. We should design with that in mind now.

Copy link
Contributor

@ScopeyNZ ScopeyNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge on rebase

Also enables PATCH method support in this command, which may be used
in the Chec API in future. If that happens, users should not need to
update their CLI to use PATCH APIs
@robbieaverill
Copy link
Contributor Author

Rebased

@ScopeyNZ ScopeyNZ merged commit e40f1ec into master Nov 21, 2019
@ScopeyNZ ScopeyNZ deleted the feature/sandbox-mode-in-request branch November 21, 2019 23:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add argument to the request command to allow sandbox API keys to be used
2 participants