1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/ts_ohos-ohos_apollo

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
Внести вклад в разработку кода
Синхронизировать код
Отмена
Подсказка: Поскольку Git не поддерживает пустые директории, создание директории приведёт к созданию пустого файла .keep.
Loading...
README.md

apollo-android

Synopsis

Apollo HarmonyOS is a GraphQL client that generates Java models from GraphQL queries. These models give you a type-safe API to work with GraphQL servers. Apollo helps you keep your GraphQL query statements together, organized, and easy to access. his library is designed primarily with HarmonyOS in mind, but you can use it in any Java app.

Features

  • Java code generation
  • Queries, Mutations and Subscriptions
  • Reflection-free parsing of responses
  • HTTP cache
  • Normalized cache
  • File uploads
  • Custom scalar types
  • Support for RxJava2, RxJava3, Coroutines and Reactor

Getting started

If you are new to GraphQL, check out the tutorial that will guide you through building an HarmonyOS app using Apollo, Java and coroutines.

If you'd like to add Apollo HarmonyOSto an existing project:

  • Get started with Java shows how to add Apollo HarmonyOS to a Java project.

Get started with Multiplatform (Experimental) shows how to add Apollo HarmonyOS to a Multiplatform project. This is still under heavy development and APIs may change without warning.

Advanced topics

Check the project website for in depth documentation about caching, plugin configuration, android, file upload, coroutines, rxjava2, rxjava3, persisted queries, no runtime, migrations and much more...

IntelliJ Plugin

The JS Graphql IntelliJ Plugin provides auto-completion, error highlighting, and go-to-definition functionality for your .graphql files. You can create a .graphqlconfig file to use GraphQL scratch files to work with your schema outside product code (such as to write temporary queries to test resolvers).

Releases

  • The latest version is Maven Central
  • Check the changelog for the release history.
  • Releases are hosted on Jcenter and Maven Central. The plugin is additionally hosted on the Gradle Plugin Portal
repositories {
  mavenCentral()
}

dependencies {
  implementation("com.gitee.ts_ohos:apollo_runtime:1.0.0")
  implementation("com.gitee.ts_ohos:apollo_rxhos:1.0.0")
}

Snapshots

Latest development changes are available in Sonatype's snapshots repository:

repositories {
  maven { 
    url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
  }
}

Snapshots

Apollo HarmonyOS runs on the following platforms: HarmonyOS API level 4+

Who is Apollo?

  • Apollo Graph, Inc. creates industry-leading tools for building applications with GraphQL:
  • Apollo Client – The most popular GraphQL client for the web. Apollo also builds and maintains Apollo iOS and Apollo HarmonyOS.
  • Apollo Server – Build a production-ready JavaScript GraphQL server with a schema-first approach.
  • Apollo Studio – A turnkey portal for GraphQL developers, featuring a powerful GraphQL IDE (the Apollo Explorer), metrics reporting, schema search, and documentation.
  • Apollo Federation – Create and manage a single data graph composed of subgraphs that can be developed independently.

Комментарии ( 0 )

Вы можете оставить комментарий после Вход в систему

Введение

Apollo Android — это GraphQL-клиент, который состоит из двух частей: серверной и клиентской. Мы рассматриваем клиентскую часть, которая поддерживает Rect, JS, IOS и android. Клиент полностью зависит от сервера и GraphQL-сервера для обмена данными. Используется динамическая загрузка через архитектуру OKHTTP. Этот проект требует одновременной сбор... Расширить Свернуть
MIT
Отмена

Обновления

Пока нет обновлений

Участники

все

Недавние действия

Загрузить больше
Больше нет результатов для загрузки
1
https://gitlife.ru/oschina-mirror/ts_ohos-ohos_apollo.git
git@gitlife.ru:oschina-mirror/ts_ohos-ohos_apollo.git
oschina-mirror
ts_ohos-ohos_apollo
ts_ohos-ohos_apollo
master