Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Field 'timeline' doesn't exist on type 'PullRequest' #2481

@jcansdale

Description

@jcansdale

Reported by @parto:

@jcansdale it has another problem though when trying to open a PR:

Screen Shot 2020-03-17 at 12 59 52 PM

Notes

Here is the problem code:

Timeline = pr.Timeline(null, null, null, null, null).AllPages().Select(item => item.Switch<object>(when =>

See discussion here:
https://github.slack.com/archives/C44NVGUBB/p1584477659296100

@xuorig said:

We're going to be reverting that change for now while we investigate who got affected. But the field will go away soon again!

@nplasterer said:

the new timelineItems allows you to filter for just the events that you want
so you can say give me just the pr comments for the timeline

timelineItems(first: 20, itemTypes: [ISSUE_COMMENT]) 

I'll let people know when it has been changed to use timelineItems!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions