这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@srinandan
Copy link
Collaborator

No description provided.

@srinandan srinandan self-assigned this Jul 20, 2023
@srinandan srinandan added the enhancement New feature or request label Jul 20, 2023
Copy link
Collaborator

@kurtkanaskie kurtkanaskie left a comment

Choose a reason for hiding this comment

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

Update works for everything but status.

go run main.go developers update --email apiproxies.test@exco.com --org apigeex-mint-kurt --first "First Updated" --last "Last Updated" --user APIProxies-Test-Updated --status=false
{
	"email": "apiproxies.test@exco.com",
	"firstName": "First Updated",
	"lastName": "Last Updated",
	"userName": "APIProxies-Test-Updated",
	"developerId": "46810b63-b3c7-412d-946d-a3781dc83730",
	"organizationName": "apigeex-mint-kurt",
	"status": "active",
	"createdAt": "1689878651104",
	"lastModifiedAt": "1690216917727"
}

Add note to usage: the use of --email is for selection only, it cannot be updated.

The status is not being updated.
The use of --status=true|false doesn't seem natural.
The API uses query param action=active|inactive
Suggest we use --status=active|inactive

@srinandan srinandan requested a review from kurtkanaskie July 24, 2023 17:16
Copy link
Collaborator

@kurtkanaskie kurtkanaskie left a comment

Choose a reason for hiding this comment

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

LGTM!

@srinandan srinandan merged commit 87c2402 into main Jul 25, 2023
@srinandan srinandan deleted the issue226 branch July 25, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: implement update operation for developers config type

3 participants