balderdashy / balderdashy/sails

Include "viewModels"

Open
#7,016 1 comment 0 reactions 0 assignees View on GitHub
more info please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

How I can define "viewModels" and include this into controllers?

example:
![image](https://user-images.githubusercontent.com/4327356/86201335-e0071a00-bb24-11ea-8550-5ed4588651a4.png)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Sails controller and viewModels concepts described in the issue and compare them with the framework's existing documentation. Clarify whether the requested outcome is a supported way to define viewModels, include them in controllers, or document an existing pattern; completion should have an agreed behavior and corresponding guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.