goadesign / goadesign/goa-cellar

bottles#list doesn't return tiny view

Open
#15 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
84
Forks
29
PR merge metrics
No merged PRs in 30d

Description

In the design package, I believe the list action should return a collection of tiny bottles, but in the controller code and in the generated swagger api, the list action returns a collections of bottles in the default view. If this is the intended behaviour, how exactly should one specify that a resource returns a collection of tiny views?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the design package, controller code, and generated Swagger API referenced in the issue to trace how bottles#list selects its view. Determine the intended behavior and how a collection of tiny views should be specified; completion requires resolving the documented discrepancy and clarifying the resource definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.