
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
xyz.mcxross.graphql.client:graphql-multiplatform-client-iosx64
Advanced tools
A multiplatform GraphQL client for Kotlin, supporting Android, iOS, macOS, tvOS, watchOS, Linux, Windows, and the web.
GraphQL Kotlin Multiplatform is a GraphQL client for Kotlin Multiplatform. It is a multiplatform library that allows you to interact with a GraphQL server from Kotlin code. It is built on top of graphql-kotlin.
Significant changes have been made to the original library to make it work on Kotlin Multiplatform. This included providing Ktor client support for all platforms and utilization of only multiplatform libraries.
GraphQL Multiplatform is available on Maven Central as a Kotlin Multiplatform library. You can either add it to your multiplatform project as shown below:
commonMain.dependencies {
implementation("xyz.mcxross.graphql:graphql-multiplatform.client")
}
Then apply the plugin to your project:
plugins {
id("xyz.mcxross.graphql-multiplatform")
}
:warning: Note: Currently, only Kotlin Multiplatform projects are supported.
Applying the plugin to your project will generate a graphql
block in your build.gradle.kts
file. You can configure
the client by setting the endpoint
and packageName
properties.
graphql {
client {
endpoint = "https://api.example.com/graphql"
packageName = "com.example.graphql"
}
}
The plugin will add a generateClient
task to your project. Running this task will generate the client code in the package
specified in the packageName
property.
./gradlew generateClient
Client
- A multiplatform GraphQL client that allows you to interact with a GraphQL serverPlugin
- A Gradle plugin that generates Kotlin code from your GraphQL schemaWe welcome contributions to GraphQL Kotlin Multiplatform. Please refer to the contribution guide for more information.
Copyright 2024 McXross
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
A multiplatform GraphQL client for Kotlin, supporting Android, iOS, macOS, tvOS, watchOS, Linux, Windows, and the web.
We found that xyz.mcxross.graphql.client:graphql-multiplatform-client-iosx64 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.