Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 22:20
    greenkeeper[bot] labeled #5391
  • Oct 18 22:20
    greenkeeper[bot] opened #5391
  • Oct 18 22:20

    greenkeeper[bot] on can-observable-mixin-1.0.3

    fix(package): update can-observ… (compare)

  • Oct 18 19:08
    cherifGsoul labeled #5390
  • Oct 18 19:07
    cherifGsoul opened #5390
  • Oct 18 18:45
    greenkeeper[bot] labeled #5389
  • Oct 18 18:45
    greenkeeper[bot] opened #5389
  • Oct 18 18:45

    greenkeeper[bot] on can-observable-bindings-1.3.0

    fix(package): update can-observ… (compare)

  • Oct 18 18:29

    matthewp on master

    Update dist for release (compare)

  • Oct 18 18:29

    matthewp on v6.1.3

    Update dist for release 6.1.3 (compare)

  • Oct 18 17:59

    matthewp on can-observable-array-1.0.2

    (compare)

  • Oct 18 17:59

    matthewp on master

    fix(package): update can-observ… Merge pull request #5388 from c… (compare)

  • Oct 18 17:59
    matthewp closed #5388
  • Oct 18 16:46
    greenkeeper[bot] labeled #5388
  • Oct 18 16:46
    greenkeeper[bot] opened #5388
  • Oct 18 16:46

    greenkeeper[bot] on can-observable-array-1.0.2

    fix(package): update can-observ… (compare)

  • Oct 18 12:45
    greenkeeper[bot] labeled #5387
  • Oct 18 12:45
    greenkeeper[bot] opened #5387
  • Oct 18 12:45

    greenkeeper[bot] on can-stache-element-1.0.2

    fix(package): update can-stache… (compare)

  • Oct 18 09:49
    chasenlehara edited #5384
Justin Meyer
@justinbmeyer
@halcyonandon we're adding some default converters like boolean-to-inList ... which should include examples w/ checkboxes
we aren't sure about what the helpers should look like ... maybe once @matthewp has this ready, please check it out and let us know what you think
Thomas Sieverding
@Bajix
Sure, but I’d like to use superMap, but in some use cases have lists that pull data from cache, so that I could side-load data using aggregates
There are other places in which I would use findAll normally
Justin Meyer
@justinbmeyer
not totally sure what you mean ...
Thomas Sieverding
@Bajix
I’ll give you a use-case
Justin Meyer
@justinbmeyer
1st ... on using superMap ... well ... yeah it's nice b/c it's small .. but it's ok to create custom connections.
it's harder, but the flexibility is there on purpose.
(this is why i want to add a can-mixin post 3.0 so it's a bit easier to assemble them on your own)
ok ... use cases that pull from cache ...
?
Thomas Sieverding
@Bajix
I want to be able to query all connections, then separately query all connections for a given user
And then have a websocket API that pushes out connection data
Justin Meyer
@justinbmeyer
ok, lets break that down a bit ... connections === a can-connect connection?
query a connection ... connection.getList?
Thomas Sieverding
@Bajix
Oh it’s a superMap
Justin Meyer
@justinbmeyer
query all connections ... not sure what you mean ... all at the same time?
Thomas Sieverding
@Bajix
from a can.map.extend
Justin Meyer
@justinbmeyer
a superMap returns a connection
but it wires up the map to call into that connection
Thomas Sieverding
@Bajix
Ok so my connection model tracks websocket connections
Justin Meyer
@justinbmeyer
basically ... when I say "connection" I'm talking about the internal mix of behaviors that superMap creates and it's Map type's .getList is calling
Thomas Sieverding
@Bajix
and I want to be able to publish information from that using a websocket API
Justin Meyer
@justinbmeyer
ah, so you have a connection for connection types :-)
Thomas Sieverding
@Bajix
and query all known instances from local
Justin Meyer
@justinbmeyer
like your Map name is Connection?
Leath Cooper
@IcculusC
lol
Thomas Sieverding
@Bajix
Yes
Justin Meyer
@justinbmeyer
haha
Leath Cooper
@IcculusC
is this a bit
Justin Meyer
@justinbmeyer
ok, let me reread what you wrote with that understanding
Thomas Sieverding
@Bajix
It’s quite literally a document to represent the Websocket connection info
Justin Meyer
@justinbmeyer
(or if you could translate this into Todo or some other type ... that might be helpful)
I want to be able to query all todos, then separately query all todos for a given user
And then have a websocket API that pushes out todos data
does that still ring true?
Thomas Sieverding
@Bajix
Essentially I want can.List’s that don’t hit the API, but will pick up any instances matching it’s set logic
And I want to do so without removing any superMap behavior
Then I’d load in data indirectly
Christopher Oliphant
@RALifeCoach
I tried using superMap within my stache. I gave up, even with a lot of help from Thomas.
Thomas Sieverding
@Bajix
;o
Leath Cooper
@IcculusC
well now I know who to go to once I get my feathers side built out!
Christopher Oliphant
@RALifeCoach
Now I use can-connect and execute a get in the component inserted event
Thomas Sieverding
@Bajix
I’ve got a use case in which I could side-load data using the MongoDB aggregate pipeline in order to take advantage of the $group stage.
Justin Meyer
@justinbmeyer
@RALifeCoach use a define value in your view models
@Bajix so you want the fall-through cache initially, but after that cache-requests?
Christopher Oliphant
@RALifeCoach
@justinbmeyer I would love to see a working non-docs example. My get was a json file, not a rest api.
Justin Meyer
@justinbmeyer
non-docs?
Thomas Sieverding
@Bajix
@justinbmeyer Yes, and I want to do so without removing any behavior
Justin Meyer
@justinbmeyer
what do you mean by "removing any behavior"?
what behavior are you thinking would be removed?