Skip to content

[Bug]: IReactiveUIBuilder.BuildApp() vs IAppBuilder.Build() #4305

@MartinFayRAX

Description

@MartinFayRAX

Describe the bug 🐞

After updating to RxUI 23.1.8 from 22.3.1 I started seeing a "not initialized" exception from RxAppBuilder.EnsureInitialized(). I've just fixed this by calling IReactiveUIBuilder.BuildApp() instead of IAppBuilder.Build(), I guess I was using the latter due it it being "normal" for a builder pattern. This is fine for me as is... but is this a bit of a gotcha? (I'm now wondering what the difference is between the implementations of these 2 methods...)

Step to reproduce

Change .BuildApp() to .Build() at the end of the RxAppBuilder call chain.

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

Build() working as before.

Screenshots 🖼️

No response

IDE

Visual Studio 2022

Operating system

Windows

Version

No response

Device

No response

ReactiveUI Version

23.1.8

Additional information ℹ️

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions