question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Example request - Get Member details

See original GitHub issue

Hello, would you mind create example how to get Member data?

I am failing to get any useful data. For example, in code below, member creator is not null, but there are no interesting data (FullName, Initials,…) , everything is set to null (available are only Id and CreationDate).

var board = new Board(config.BoardId);
 await board.Refresh();

var f = new TrelloFactory();
var card = f.Card(cardId);

await card.Comments.Refresh();
var comment = card.Comments.OrderBy(c => c.CreationDate).LastOrDefault();

await comment.Creator.Refresh();
var creator = comment.Creator;

Thank you.

EDIT: I am getting expected result (Member object with loaded data) after commenting out lines in Manatee.Trello/Manatee.Trello/Internal/Synchronization/MemberContext.cs, lines 229-258.

Is this feature? Or is the usage in my code snippet correct?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
nvagharicommented, Mar 19, 2019

I hope this issue will be solved. but your framework is too hard to working with it. finally, I wrote my own code and very easy I caught all the comments using official rest API. thank you

0reactions
gregsdenniscommented, Mar 19, 2019

I’m not sure what’s going on there. I set up a test, and when I just run the test it fails, but debugging the test it works. Might be a timing issue somewhere. I’m continuing to look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

List a user's direct memberships - Microsoft Graph v1.0
Examples. Example 1: Get groups, directory roles, and administrative units that the user is a direct member of. Request.
Read more >
HTTP GET with request body
The GET method means retrieve whatever information ([...]) is identified by the Request-URI. which states that the request-body is not part ...
Read more >
HTTP Request Methods – Get vs Put vs Post Explained ...
In this article, we'll be discussing the get, put, and post HTTP methods. You'll learn what each HTTP method is used for as...
Read more >
REST API - Retrieve Group Members
Try using below endpoint to get the Site Members from Members group: _api/Web/SiteGroups/GetByName('SiteName Members')/users.
Read more >
Python's Requests Library (Guide)
The GET method indicates that you're trying to get or retrieve data from a specified resource. To make a GET request, invoke requests.get() ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found