1

Closed

Bug fix in YammerClient for complex objects

description

Here is the fix I recommend in the YammerRequest<T>(String restService, Method method = Method.GET, Object objectForRequest = null, Boolean getAuth = true) method:
            if (objectForRequest != null)
            {
                //Request Format set to JSON and AddBody instead of AddObject are necessary to allow posting complex objects (such as the Activity object)
                request.RequestFormat = DataFormat.Json;
                request.AddBody(objectForRequest);
                //request.AddObject(objectForRequest);
            }
Closed Aug 12, 2014 at 2:48 PM by RaynaldM

comments

wrote Aug 12, 2014 at 2:48 PM

Résolu à l'aide de l'ensemble de modifications 36943 : Bug fix in YammerClient for complex objects
Move YammerRequest from private to public