Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

[ThemeGraphql] Getting values from StoreConfig is not possible #317

Closed
vasilii-b opened this issue Jan 22, 2019 · 1 comment
Closed

[ThemeGraphql] Getting values from StoreConfig is not possible #317

vasilii-b opened this issue Jan 22, 2019 · 1 comment
Assignees
Labels
bug Something isn't working Component: ThemeGraphQl

Comments

@vasilii-b
Copy link

Preconditions (*)

  1. Magento 2.3-develop
  2. Filled in fields for Html Head, Header and Footer sections under Content -> Design -> Configuration -> one selected row as per your wish
    image

Steps to reproduce (*)

  1. Open GraphiQL or any other tool to make queries to Magento store
  2. Create a query to get some store configuration information (available from app/code/Magento/ThemeGraphQl/etc/schema.graphqls). The following is an example:
{
  storeConfig {
    head_shortcut_icon,
    default_title,
    title_prefix,
    title_suffix,
    default_description,
    default_keywords,
    head_includes,
    demonotice,
    header_logo_src,
    logo_width,
    logo_height,
    logo_alt,
    welcome,
    absolute_footer,
    copyright
  }
}

Expected result (*)

Returned values reflect values added in the admin area.
image

Actual result (*)

For requested fields, you've got nulls as response:
image

@naydav
Copy link
Contributor

naydav commented Jan 31, 2019

#318

@naydav naydav closed this as completed Jan 31, 2019
@naydav naydav added the bug Something isn't working label Jan 31, 2019
@naydav naydav added this to the Release: 2.3.1 milestone Jan 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Component: ThemeGraphQl
Projects
None yet
Development

No branches or pull requests

3 participants