Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:13
    greenkeeper[bot] labeled #5378
  • 21:12
    greenkeeper[bot] opened #5378
  • 21:12

    greenkeeper[bot] on can-simple-map-4.3.3

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

  • 20:19
    greenkeeper[bot] labeled #5377
  • 20:19
    greenkeeper[bot] opened #5377
  • 20:19

    greenkeeper[bot] on @feathersjs

    chore(package): update @feather… (compare)

  • 20:18
    greenkeeper[bot] labeled #5376
  • 20:18
    greenkeeper[bot] opened #5376
  • 20:18

    greenkeeper[bot] on @feathersjs

    chore(package): update @feather… (compare)

  • 14:43
    greenkeeper[bot] closed #5373
  • 14:43

    greenkeeper[bot] on can-deep-observable-1.0.1

    (compare)

  • 14:42

    m-mujica on update-deep-observable

    (compare)

  • 14:42

    m-mujica on master

    Update can-deep-observable to l… Merge pull request #5374 from c… (compare)

  • 14:42
    m-mujica closed #5374
  • 14:42
    m-mujica closed #5365
  • 14:09
    f-ricci starred canjs/canjs
  • 13:55
    greenkeeper[bot] commented #5375
  • 13:55

    greenkeeper[bot] on core-js-3.3.2

    chore(package): update core-js … (compare)

  • 10:51
    m-mujica review_requested #5374
  • 07:43
    rjgotten commented #5358
Justin Meyer
@justinbmeyer
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?
Christopher Oliphant
@RALifeCoach
Your toDo example from the docs I’m sure works. But the world is more complex than that.
Justin Meyer
@justinbmeyer
more complex app
Thomas Sieverding
@Bajix
I mean that I want to use every behavior associated with superMap
Justin Meyer
@justinbmeyer
yeah, that's fine
so the problem is really keeping localStorage
it's really easy to drop that and bring in cache-requests
and everything would work
Christopher Oliphant
@RALifeCoach
And even in the ToDo example you gloss over the API portion. I want an example where the rest api already exists and doesn’t conform to standards
Leath Cooper
@IcculusC
lol is bitballs a real thing you made @justinbmeyer
Thomas Sieverding
@Bajix
@justinbmeyer What issue is there here with localStorage?
Justin Meyer
@justinbmeyer
sorry, not localStorage
the problem is with the fall-through-cache
@IcculusC yeah?
@Bajix you could swap the fall-through-cache strategy with cache-requests
and you'd pretty much have what you want
Christopher Oliphant
@RALifeCoach
@justinbmeyer the bitballs example assumes standard API calls. I don’t have control over the API end and that is true for most developers working on legacy systems.
Justin Meyer
@justinbmeyer
sure, but that has nothing to do with using "inserted" to load data
Thomas Sieverding
@Bajix
Ok