Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    What's the status of DSResponse.addRelatedUpdate() ?

    Dear Isomorphic,

    The documentation of DataSource.updateCache mentions a server-side API call DSResponse.addRelatedUpdate(), to trigger client-side data updates not directly related to the given request.

    However, I can not find this method in the server side docs, or on the actual server-side DSResponse class.

    Is this depracated, or it's only the Java wrapper that's missing?

    Thank you for your help:

    Csillag

    #2
    Originally posted by csillag
    [...] or it's only the Java wrapper that's missing?
    Since this is on the server side, this is impossible here.

    Comment


      #3
      Originally posted by csillag
      Dear Isomorphic,

      The documentation of DataSource.updateCache mentions a server-side API call DSResponse.addRelatedUpdate(), to trigger client-side data updates not directly related to the given request.

      However, I can not find this method in the server side docs, or on the actual server-side DSResponse class.

      Is this depracated, or it's only the Java wrapper that's missing?

      Thank you for your help:

      Csillag
      Dear Isomorphic, could you please look into this?
      (The question still stands, except tha Java wrapper bit, which was stupid.)

      Thank you:

      Csillag

      Comment


        #4
        This is a planned API that has not been implemented yet, and a reference to it inadvertently slipped into the docs.

        To the do the equivalent thing in the meantime, you can add extra data to properties in the first record of the response, and retrieve it in transformResponse() in order to call DataSource.updateCaches() yourself.

        Comment

        Working...
        X