Skip to content

AuthGuard and RxJS #12

@philip-bolokhov

Description

@philip-bolokhov

Angular now has a command ng generate guard which will create an empty guard. Regardless of that, it is better to put a guard into a dedicated file auth.guard.ts rather than auth.service.ts

Further, RxJS operators are now used inside of pipe(), not by themselves

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions