0.3.1 • Published 1 year ago
fastberry v0.3.1
Fastberry (Vue)
Install
npm i fastberry
JavaScript
// GraphQL Client
import client from "./client";
import fastberry from "./fastberry";
// Vue
import { createApp } from "vue";
import App from "./App.vue";
const app = createApp(App);
app.use(fastberry, {
ignore: ["PageInfo", "Error", "ErrorMessage", "Deleted"],
api: client({
url: "http://localhost:8000/graphql",
debug: true,
maxDepth: 6,
}),
});
app.mount("#app");
Vue
<gql-orm
@submit="console.log"
action="query"
name="ModelSearch"
model-name="Model"
model-part="instance"
:disable="['Id']"
:debug="true"
>
<template v-slot="self">
<h1>GraphQL ORM</h1>
<div>{{ self.args }}</div>
<div>{{ self.form }}</div>
<button @click="self.submit()">Submit</button>
</template>
</gql-orm>
<gql-orm
@submit="console.log"
action="query"
name="ModelSearch"
model-name="Model"
model-part="list"
:disable="['edges.cursor']"
:debug="true"
>
<template v-slot="self">
<h1>GraphQL ORM</h1>
<div>{{ self.args }}</div>
<div>{{ self.form }}</div>
<button @click="self.submit()">Submit</button>
</template>
</gql-orm>
0.3.0
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.2.3
1 year ago
0.3.1
1 year ago
0.2.2
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago