Inside a merge I want the first observable to be conditional between two different ones, but it seems adding a switchMap inside a merge doesn't work.
I don't understand why the switchMap inside the merge never triggers and only handle pure observables.
switchMap(() => {
       return merge(
          switchMap(() => {
            if (condition) {
              return of(something);
            }
            return of(somethingelse);
          }),
         obs2$
        );
      })