Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(auth) Update to rxjs pipeable operators #1621

Merged
merged 3 commits into from
May 11, 2018
Merged

(auth) Update to rxjs pipeable operators #1621

merged 3 commits into from
May 11, 2018

Conversation

jymdman
Copy link
Contributor

@jymdman jymdman commented May 11, 2018

Checklist

  • Issue number for this PR: #nnn (required)
  • Docs included?: (yes/no; required for all API/functional changes)
  • Test units included?: (yes/no; required)
  • In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description

Updates auth to rxjs pipeable operators

src/auth/auth.ts Outdated
});

).pipe(switchMap((user:User) => {
return user ? Observable.from(user.getIdToken()) : Observable.of(null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

import and use from and of

@jamesdaniels jamesdaniels merged commit 0c3b215 into angular:master May 11, 2018
@jymdman jymdman deleted the auth-rxjs-pipeable branch May 11, 2018 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants