Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List api support #272

Merged
merged 9 commits into from
Oct 31, 2024
Merged

List api support #272

merged 9 commits into from
Oct 31, 2024

Conversation

andymond
Copy link
Contributor

@andymond andymond commented Oct 29, 2024

Draft

  • Big PR, but a lot of boilerplate
  • Add api support for list & list item resources
  • Add client actions, api and command classes with minimal validation

Copy link
Member

@opti opti left a comment

Choose a reason for hiding this comment

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

Hi @andymond! Thank you for the time and effort you've put into this contribution. I really appreciate that.

I left a few minor comments throughout the code, but it overall looks good to me.

Let's not introduce the "allowed" validator concept. It's better to keep it open for further API development.

lib/castle/api/list/all.rb Outdated Show resolved Hide resolved
lib/castle/api/list_item/count.rb Outdated Show resolved Hide resolved
lib/castle/client_actions/list_item.rb Outdated Show resolved Hide resolved
lib/castle/client_actions/list_item.rb Outdated Show resolved Hide resolved
lib/castle/commands/list/create.rb Outdated Show resolved Hide resolved
lib/castle/commands/list/create.rb Outdated Show resolved Hide resolved
lib/castle/commands/list_item/archive.rb Outdated Show resolved Hide resolved
lib/castle/commands/list_item/query.rb Outdated Show resolved Hide resolved
.idea/.gitignore Outdated Show resolved Hide resolved
@andymond andymond requested a review from opti October 30, 2024 16:56
Copy link
Member

@opti opti left a comment

Choose a reason for hiding this comment

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

Great job!

@opti opti merged commit b1d3425 into castle:develop Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants