-
-
Notifications
You must be signed in to change notification settings - Fork 9
initial code #1
initial code #1
Conversation
.github/CODEOWNERS
Outdated
# More info: https://help.github.com/articles/about-codeowners/ | ||
# | ||
|
||
* @waterplea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
так если в либу будут приходить PRы, то я не буду дергаться на ревью автоматически
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну мы, вроде, и не добавляли друг друга никогда в то, что сами делали. Давай добавлю.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я добавлял...
import {ClassProvider} from '@angular/core'; | ||
import {LOCAL_STORAGE} from '@ng-web-apis/common'; | ||
|
||
export class StorageMock implements Storage { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а мы прям настоящий сторейдж реализовали, чтобы проще было имплементировать и все по типам сошлось?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ну это тупо Map, но вроде да
@@ -0,0 +1,27 @@ | |||
const NEVER = new Promise<any>(empty); | |||
|
|||
export function identity<T>(v: T): T { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а что сразу в common не добавил?
или не добавляем туда штук, которые непосредственно к ангуляру не имеют отношения?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, не хочу делать cdk из него
@@ -0,0 +1,6 @@ | |||
/** Stripped down Request from Express */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а Universal только с express работает?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нет, вроде, но по дефолту его советуют вроде. Ну тут и не весь Request, если у тебя что-то другое, то можно подкрутить. Есть идеи как по-универсальнее это реализовать?
No description provided.