selveq / directory-graphql
Magento 2 Directory GraphQl extension for ScandiPWA theme
Package info
github.com/sellveq/directory-graphql
Type:magento2-module
pkg:composer/selveq/directory-graphql
Requires
- php: ^8.3
- magento/framework: ^103.0
- magento/module-directory: ^100.4
- magento/module-directory-graph-ql: ^100.4
- magento/module-graph-ql: ^100.4
- magento/module-store: ^101.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
This package is not auto-updated.
Last update: 2026-09-19 19:50:33 UTC
README
Fork of scandipwa/directory-graphql 1.0.2, maintained by Selveq for Magento 2.4.9 and PHP 8.3. Module name and namespace are unchanged, and the package replaces scandipwa/directory-graphql at every version, so it installs as a drop-in replacement. Selveq is not affiliated with or endorsed by Scandiweb.
What it does
- Answers
is_state_requiredon both thecountriesand thecountryqueries, alwaystrueorfalse. - Reads the field from
general/region/state_requiredin store scope, so it follows theStoreheader. - Leaves
countriescacheable through core's ownCountry\Identity, tags and all. - Invalidates that cache when
general/region/state_requiredis saved, which core's tag generator does not do.
Install
composer require selveq/directory-graphql bin/magento setup:upgrade
License
OSL-3.0, the license of the original work. Scandiweb's copyright notices are kept in every file, and each file Selveq changed carries a Modifications © Selveq notice.