Skip to content

Commit

Permalink
Merge branch 'main' into enhance/tailcall-init
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 authored Nov 28, 2024
2 parents 59b57cd + 02c7821 commit 7b57754
Show file tree
Hide file tree
Showing 107 changed files with 2,955 additions and 1,077 deletions.
65 changes: 23 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tracing = "0.1.40"
lazy_static = "1.4.0"
serde_json = { version = "1.0.116", features = ["preserve_order"] }
serde = { version = "1.0.200", features = ["derive"] }
derive_more = "0.99.18"
derive_more = { version = "1", features = ["from", "debug"] }
thiserror = "1.0.59"
url = { version = "2.5.0", features = ["serde"] }
convert_case = "0.6.0"
Expand Down Expand Up @@ -175,7 +175,7 @@ strum = "0.26.2"
tailcall-valid = { workspace = true }
dashmap = "6.1.0"
urlencoding = "2.1.3"
tailcall-chunk = "0.2.5"
tailcall-chunk = "0.3.0"

# to build rquickjs bindings on systems without builtin bindings
[target.'cfg(all(target_os = "windows", target_arch = "x86"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Tailcall Logo](https://raw.githubusercontent.com/tailcallhq/tailcall/main/assets/logo_main.svg)](https://tailcall.run)
[![Tailcall Logo](https://raw.githubusercontent.com/tailcallhq/tailcall/refs/heads/main/assets/logo_light.svg)](https://tailcall.run)

Tailcall is an open-source solution for building [high-performance] GraphQL backends.

Expand Down
20 changes: 20 additions & 0 deletions assets/logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 33 additions & 6 deletions generated/.tailcallrc.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ directive @call(
of the previous step is passed as input to the next step.
"""
steps: [Step]
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

"""
The `@expr` operators allows you to specify an expression that can evaluate to a
value. The expression can be a static value or built form a Mustache template. schema.
"""
directive @expr(
body: JSON
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

"""
The @graphQL operator allows to specify GraphQL API server request to fetch data
Expand Down Expand Up @@ -95,7 +95,7 @@ directive @graphQL(
This refers URL of the API.
"""
url: String!
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

"""
The @grpc operator indicates that a field or node is backed by a gRPC API.For instance,
Expand Down Expand Up @@ -149,7 +149,7 @@ directive @grpc(
This refers to URL of the API.
"""
url: String!
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

"""
The @http operator indicates that a field or node is backed by a REST API.For instance,
Expand Down Expand Up @@ -229,11 +229,11 @@ directive @http(
This refers to URL of the API.
"""
url: String!
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

directive @js(
name: String!
) on FIELD_DEFINITION | OBJECT
) repeatable on FIELD_DEFINITION | OBJECT

"""
The @link directive allows you to import external resources, such as configuration
Expand Down Expand Up @@ -1026,14 +1026,41 @@ enum Method {
}

enum LinkType {
"""
Points to another Tailcall Configuration file. The imported configuration will be merged into the importing configuration.
"""
Config
"""
Points to a Protobuf file. The imported Protobuf file will be used by the `@grpc` directive. If your API exposes a reflection endpoint, you should set the type to `Grpc` instead.
"""
Protobuf
"""
Points to a JS file. The imported JS file will be used by the `@js` directive.
"""
Script
"""
Points to a Cert file. The imported Cert file will be used by the server to serve over HTTPS.
"""
Cert
"""
Points to a Key file. The imported Key file will be used by the server to serve over HTTPS.
"""
Key
"""
A trusted document that contains GraphQL operations (queries, mutations) that can be exposed a REST API using the `@rest` directive.
"""
Operation
"""
Points to a Htpasswd file. The imported Htpasswd file will be used by the server to authenticate users.
"""
Htpasswd
"""
Points to a Jwks file. The imported Jwks file will be used by the server to authenticate users.
"""
Jwks
"""
Points to a reflection endpoint. The imported reflection endpoint will be used by the `@grpc` directive to resolve data from gRPC services.
"""
Grpc
}

Expand Down
Loading

0 comments on commit 7b57754

Please sign in to comment.