Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Filterx docs #69

Merged
merged 89 commits into from
Sep 17, 2024
Merged

[WIP] Filterx docs #69

merged 89 commits into from
Sep 17, 2024

Conversation

fekete-robert
Copy link
Contributor

No description provided.

content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-comparing/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Show resolved Hide resolved
content/filterx/function-reference.md Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Show resolved Hide resolved
content/filterx/_index.md Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/_index.md Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-boolean/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-comparing/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-comparing/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-comparing/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-comparing/_index.md Outdated Show resolved Hide resolved
Comment on lines +126 to +135
| Numerical or string operator | String operator | Meaning |
| ------------------ | --------------- | --------------------- |
| == | eq | Equals |
| != | ne | Not equal to |
| > | gt | Greater than |
| < | lt | Less than |
| >= | ge | Greater than or equal |
| =< | le | Less than or equal |
| === | | Equals and has the same type |
| !== | | Not equal to or has different type |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The string operators are introduced here, and I don't know if it is understandable for the reader just by this name. I think it is worth a smaller section.

content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-otel/_index.md Show resolved Hide resolved
content/filterx/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-parsing/csv/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-parsing/csv/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-parsing/csv/_index.md Outdated Show resolved Hide resolved
content/filterx/filterx-parsing/csv/_index.md Outdated Show resolved Hide resolved
content/filterx/function-reference.md Outdated Show resolved Hide resolved
content/filterx/function-reference.md Outdated Show resolved Hide resolved

If the object doesn't exist, `istype()` returns with an error, causing the filterx statement to become false, and logs an error message to the `internal()` source of {{< product >}}.

## json, json_object {#json}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## json, json_object {#json}
## json {#json}

content/filterx/function-reference.md Outdated Show resolved Hide resolved
content/filterx/function-reference.md Show resolved Hide resolved
@alltilla
Copy link
Member

Done with my first full review round :) Looks really good so far, good job!

@fekete-robert fekete-robert marked this pull request as ready for review September 16, 2024 07:45
@fekete-robert fekete-robert merged commit 2d25668 into main Sep 17, 2024
1 check passed
@fekete-robert fekete-robert deleted the filterx-draft branch September 17, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants