Skip to content

Commit

Permalink
Merge pull request #420 from Yelinz/patch-1
Browse files Browse the repository at this point in the history
fix query usage docs
  • Loading branch information
NullVoxPopuli authored Jun 10, 2024
2 parents 7181595 + 470a5ac commit ac7136b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Available methods:
**in a template**

```hbs
{{#let (query 'blog' query=(hash ...)) as |blogs|}}
{{#let (query 'blog' (hash ...)) as |blogs|}}
{{#if blogs.isLoading}}
...
{{else if blogs.isError}}
Expand Down Expand Up @@ -206,7 +206,7 @@ See: [First-class Component Templates](https://github.com/emberjs/rfcs/pull/779)
import { Query } from 'ember-data-resources';

<template>
{{#let (Query 'blog' query=(hash ...)) as |blogs|}}
{{#let (Query 'blog' (hash ...)) as |blogs|}}
...
{{/let}}
</template>
Expand Down Expand Up @@ -242,7 +242,7 @@ Available methods:
**in a template**

```hbs
{{#let (query-record 'blog' query=(hash ...)) as |blog|}}
{{#let (query-record 'blog' (hash ...)) as |blog|}}
{{#if blog.isLoading}}
...
{{else if blog.isError}}
Expand Down Expand Up @@ -273,7 +273,7 @@ See: [First-class Component Templates](https://github.com/emberjs/rfcs/pull/779)
import { QueryRecord } from 'ember-data-resources';

<template>
{{#let (QueryRecord 'blog' query=(hash ...)) as |blog|}}
{{#let (QueryRecord 'blog' (hash ...)) as |blog|}}
...
{{/let}}
</template>
Expand Down

0 comments on commit ac7136b

Please sign in to comment.