Skip to content

Conversation

Aeliot-Tm
Copy link

@Aeliot-Tm Aeliot-Tm commented Aug 11, 2022

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? yes
License MIT

There are added new blocks for easy overriding of the page rendering.
It is useful then you want to add new fields on the page.

For example, for handling of API assess tokens.

x-auth-token

Additionally:

  • Docs moved from the src/Resouces/doc directory to docs in the repository root.
  • Fixed links to them in README.md.
  • Restored docs which was removed by chance before.

@Aeliot-Tm
Copy link
Author

May be it has sense to create a set of templates for common solutions?

@Aeliot-Tm Aeliot-Tm changed the title Override the page rendering Define blocks for easy overriding of the page rendering Aug 11, 2022
@Aeliot-Tm Aeliot-Tm force-pushed the override_rendering branch 3 times, most recently from 324adb2 to 73238aa Compare August 11, 2022 18:12
@Aeliot-Tm
Copy link
Author

@mcg-web Could you check it, please

@Aeliot-Tm
Copy link
Author

Added template @OverblogGraphiQL/GraphiQL/auth.html.twig providing two common authentication ways.

How it looks like:
auth-token
There is:

  1. Header used for the authorization.
  2. Header value (token) for the authorization.
  3. Button to load schema when the header value (token) typed.

@Aeliot-Tm
Copy link
Author

@ruudk @mcg-web Could you check it, please?

@mcg-web mcg-web merged commit 8102f72 into overblog:master Nov 9, 2022
@mcg-web
Copy link
Contributor

mcg-web commented Nov 9, 2022

Thank you and sorry for the late reply!

@Aeliot-Tm Aeliot-Tm deleted the override_rendering branch November 9, 2022 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants