GithubHelp home page GithubHelp logo

magefan / module-blog-graph-ql Goto Github PK

View Code? Open in Web Editor NEW
30.0 5.0 6.0 223 KB

Magento 2 Blog GraphQL extension. Provides GraphQL endpoints for Magefan Blog Module

PHP 100.00%
magento2 magento2-module magento2-extension magento2-plugin magento2-extension-free magento2-free-extension magento2-module-free magento-2 magento-2-module magento-2-extension

module-blog-graph-ql's Introduction

GraphQL for Magento 2 Blog Module by Magefan

Total Downloads Latest Stable Version

Magento 2 Blog GraphQL module allows you to create a PWA Blog on your Magento 2 Store.

Attention!!! If you use Magento lower then v2.3.4 please use BlogGraphQl extension v2.0.1. BlogGraphQl v2.0.2 is only for Magento 2.3.4 or greater.

Demo

Try out our open demo and if you like our extension please give us some star on Github โ˜…

Storefront ReactJS Demo
Magneto 2 Blog Extension Storefront Demo
view

Requirements

  • Magento Community Edition 2.4.x or Magento Enterprise Edition 2.4.x
  • IMPORTANT! Magefan Blog Extension >= 2.9.1 . Please install this extension first if you use installation via FTP.
  • IMPORTANT! Magefan Community Extension >= 2.0.8 . Please install this extension first if you use installation via FTP.

Online Documentation

Installation Instruction

Support

If you have any issues, please contact us then if you still need help, open a bug report in GitHub's issue tracker.

Please do not use Magento Marketplace Reviews or (especially) the Q&A for support. There isn't a way for us to reply to reviews and the Q&A moderation is very slow.

Need More Features?

Please contact us to get a quote https://magefan.com/contact

License

The code is licensed under EULA.

Magento 2 Point of Sale

Magento 2 Theme

module-blog-graph-ql's People

Contributors

andriysvyryda avatar ihorvansach avatar magefan avatar robaimes avatar yuriyhamulevych avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

module-blog-graph-ql's Issues

Posts sort issue

Currently, posts are sorting only by the update_time field, which is not correct.

Posts should by sorted by publish_time

Graphql filter IN exception

{
operationName: blogPosts, query: [Filtered], variables: {filter: {category_id: {in: [okrashivanie, strizhki, pricheski, uhod]}}, pageSize: 4}
}

Cardinality violation: 1241 Operand should contain 1 column(s), query was:
SELECT `t`.`category_id` FROM `magefan_blog_category` AS `t` WHERE (t.identifier = 'okrashivanie', 'strizhki', 'pricheski', 'uhod')

Query blogPosts filter Internal server error

I'm currently looking into finding a Magento 2 Blog module with supports GraphQl and I'm trying out yours.

Versions:

"magefan/module-blog": "^2.9.1",
"magefan/module-blog-graph-ql":  "^2.0.1",
"magento/product-community-edition": "2.3.4"

When running the following query:

{
  blogPosts(currentPage: 1, pageSize: 1, filter: {search: {like: "world"}}) {
    total_count
    items {
      title
      short_filtered_content
      author {
        author_id
        name
        author_url
      }
      post_url
      creation_time
      tags {
        tag_id
        title
        tag_url
      }
      categories {
        category_id
        title
        category_url
      }
    }
    total_pages
  }
}

I get the following error:

Attribute not found in the visible attributes list at app/vendor/webonyx/graphql-php/src/Error/Error.php:174, LogicException(code: 0) Attribute not found in the visible attributes list at /app/vendor/magento/frameworkGraphQl/Query/Resolver/Argument/AstConverter.php:88

When I remove the filter attribute on the query it works.

Alternatively where can I find the documentation for the REST api?

Edited:
Sorry, I see this is open: https://github.com/magefan/module-blog-graph-ql/pulls
When will it be merged?

Thanks!
Bianca

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.