Jan 'spl!te' Kondelík
Jan 'spl!te' Kondelík
I see that [`get_state()`](http://docs.godotengine.org/en/latest/classes/class_editorplugin.html#class-editorplugin-get-state) is returning dictionary, so i am pretty sure it is the same thing as saving game: http://docs.godotengine.org/en/latest/learning/features/misc/saving_games.html
Or, is my "workaround" prefered way of doing it? (lets talk 😄 ) then it would be nice to add more constructors to support it, like ```c# public GraphQLHttpClient(string endPoint,...
> GraphQLHttpClient is not meant to be registered as "transient" and re-instantiated for each usage. Ok, good to know! Maybe word or two somewhere in readme about this? (I am...
In his example, aschattopadhyay added `Authorization` to whole HttpClient: Please note that maybe this is not what you want: This solution (adding to `HttpClient.DefaultRequestHeaders`) is heavily dependent on how you...
You didnt wrote what reverse proxy are you using, so I will show you mine with *nginx*. Also, you dont mention if you use *hard installation* or *docker compose*, so...
Ok, still does not work becouse there are absolute paths in code: https://github.com/kwk/docker-registry-frontend/blob/acd3f1f55f0063c6496d26dd9a65d5d010dd6ff1/app/repository/repository-list-controller.spec.js#L38 https://github.com/kwk/docker-registry-frontend/blob/acd3f1f55f0063c6496d26dd9a65d5d010dd6ff1/app/services/app-mode-services.js#L8 etc... see #50 :-/
Ok, i think i nailed the problem... Its kind of schrödinbug. I added SilentRenewError callback ``` AuthorizeService.ensureUserManagerInitialized(): (...) this.userManager.events.addSilentRenewError(function (e) { console.error('silent renew error', e.message); }); ``` (and lowered AccessTokenLifetime...
Maybe another bug: `AuthorizeService.userManager` is created twice: just add breakpoint after ```typescript private async ensureUserManagerInitialized(): Promise { if (this.userManager !== undefined) { return; } // there (...) } ``` the...
Well, thats it. The root of the problem is second initialisation of `AuthorizeService.userManager` # Solution If i modify `AuthorizeService.getUserFromStorage()` to not return new `Observable` every time it is called, `AuthorizeService.userManager`...
or even better ``` typescript private _userStorage$ = from(this.ensureUserManagerInitialized()) .pipe( mergeMap(() => this.userManager.getUser()), map(u => u && u.profile) ); ``` and get rid of `getUserFromStorage()` method... (i am still learning...