uber / uber/RIBs

Tutorial 2. Argument Type RootComponent does not conform to expected type LoggedInDependency

Open
#350 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

iOS
Dominant language
Kotlin
Stars
7.9k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Continuing from tutorial 1 I ran into this issue. Has anyone seen this or know why loggedOut is fine but loggedIn is throwing this error on the component?

Screen Shot 2019-10-01 at 9 59 18 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing Tutorial 1 and Tutorial 2, focusing on RootComponent, LoggedInDependency, and the loggedIn versus loggedOut components shown in the issue. Reproduce the reported type-conformance error and trace how those component arguments are declared; done means identifying why loggedIn fails and documenting or correcting the mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.