balderdashy / balderdashy/sails

Resource PubSub does not notify Create events with model!

Open
#7,015 2 comments 0 reactions 0 assignees View on GitHub
repro please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**: 12
**Sails version** _(sails)_: 1.0
**ORM hook version** _(sails-hook-orm)_:
**Sockets hook version** _(sails-hook-sockets)_:
**Organics hook version** _(sails-hook-organics)_:
**Grunt hook version** _(sails-hook-grunt)_:
**Uploads hook version** _(sails-hook-uploads)_:
**DB adapter & version** _(e.g. sails-mysql@5.55.5)_:
**Skipper adapter & version** _(e.g. skipper-s3@5.55.5)_:


Resource PubSub does not notify Create events with model!
I followed the preparation of candles, but still I do not receive notifications of creation, only changes.

Anyone, go through this or have an example of a pubsub model working on Sails 1.0?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Resource PubSub behavior described for Sails 1.0, using the reported candles preparation and checking creation notifications against change notifications. Done means a model receives a PubSub notification when a resource is created, not only when it changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
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.