HarperFast / HarperFast/studio

"Computed" properties are null on the browse page

Open
#1,256 0 comments 0 reactions 0 assignees View on GitHub
admin & data
Dominant language
TypeScript
Stars
5
Forks
4
Avg merge
1d 8h
Merged PRs (30d)
40

Description

On the browse page, the computed field is shown but the value is null (empty on the page). On the query page the value is shown correctly

### HarperDB Instance Version

4.0

## Expected Behavior

"Computed" properties are shown with correct values on the browse page

## Actual Behavior

"Computed" properties are shown but the values are null (empty on the page)

## Steps to Reproduce

1. Go to applications page
2. Edit the schema and add a new table with @computed property

```
type Product2 @table @export {
id: ID @primaryKey
price: Float
taxRate: Float
totalPrice: Float @computed(from: "price + (price * taxRate)")
}
```

3. Go to browse page
4. Click on the Product2 table
5. Click on the plus icon to add a new record
6. Add a new record

```
{
"price": 100,
"taxRate": 0.19,
}
```

7. Click save

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.