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

feat(major): TRON-64984 added support for TYPO3 v13 #6

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Conversation

paeddym
Copy link
Contributor

@paeddym paeddym commented Nov 18, 2024

No description provided.

lstitx and others added 2 commits May 2, 2024 15:49
feat: (queryBuilder) TRON-61674: added QueryBuilder Restrictions

See merge request typo3/typo3-graphql!2
@paeddym paeddym added the enhancement New feature or request label Nov 18, 2024
@paeddym paeddym requested a review from benjasper November 18, 2024 07:07
@paeddym paeddym self-assigned this Nov 18, 2024
@simouel
Copy link

simouel commented Jan 16, 2025

Hi :)
I've tested a bit this branch and i'm getting this error when i'm trying too call the pagecontent Query

Setup array has not been initialized. This happens in cached Frontend scope where full TypoScript is not needed by the system.

Are you getting the same error or this is related to my typo3 headless setup

query {
	pagecontent(uid: 2) {
		uid
	}
}

@benjasper
Copy link
Collaborator

Hi, yes we are not really sure how to proceed, because booting the TypoScript ist different in v13 and we don't know how to workaround this. We have been using an approach like the slim-php extension (https://github.com/b13/slimphp-bridge/blob/main/src/Middleware/ExtbaseBridge.php) but it's not updated yet either.

@paeddym
Copy link
Contributor Author

paeddym commented Jan 16, 2025

Sadly the slim-php devs seem to have gotten stuck on the exact same issue as us (b13/slimphp-bridge#29 (comment)), so TYPO3 v13 support is still out of reach for now

@simouel
Copy link

simouel commented Jan 17, 2025

I've moved the graphql server middleware after the prepare-tsfe-rendering and created a page called graphql (same slug). Now it is working. I guess it might not be the ideal solution because it waits for the whole TSFE to initialize, but at least I can continue my exploration.

           'itx/typo3_graphql/graphql-server' => [
            'target' => \Itx\Typo3GraphQL\Middleware\GraphQLServerMiddleware::class,
            'after' => [
                'typo3/cms-frontend/prepare-tsfe-rendering',
            ],
            'before' => [
                'typo3/cms-frontend/shortcut-and-mountpoint-redirect',
            ]

hope this help. Have a nice day :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants