menu
Channels
Team
Posts
Members
Info

Object injection on creation

In my case, I want to create an entity "Todo" with a field "creator: User". But when I create the command like this: I need the user currently logged-in (the one creating that to-do) to insert it in the "Todo" object. I don't even know if my approach makes sense in the booster…

thumbsup
1
message-simple
11

Weird behavior on register endpoint

Today, when using the registration endpoint, I could register with [email protected] Before that, I was also registered as [email protected] - note the capital 'C', so now I am registered twice. Maybe this is not a d desired behavior

thumbsup
0
message-simple
1

✅ Entity error while deploying

I got this error when trying to deploy Don't know what it means. My Todo entity is this one: With some reducers that should not be the problem

thumbsup
0
message-simple
4

Deleting items from tables

it might be a dumb question but I cannot find an example in the documentation. How do I delete a table item? For instance, I added a product but now I want to get rid of it. There is an option, which is to add an isDeleted property to each Entity we create; however, that makes…

thumbsup
1
message-simple
2

How to create a user?

Hi! Booster provides an endpoint to sign-up but, is there a way to create new users with a custom role from code? For example, if I want to create an admin user but I don't want to set allowSelfSignUp to true for Admins, how I could do it?

thumbsup
0
message-simple
2

Creating a CreateOrUpdate reducer for an entity

Hey team! Right now, I want to import some data from an excel with a list of people. This list of people has a couple of peculiarities: 1. Every row contains a person's personal information …

thumbsup
0
message-simple
2

✅ Invalid provider when running boost deploy

I'm getting the following error when trying to deploy: Here's what's in my config.ts btw: PS: the -e flag is not mentioned in the docs. The deploy command gave me another error when not using that flag.

thumbsup
0
message-simple
5

Default environment

Should the CLI assign a default environment when none is provided? e.g. dev I think enforcing -e flag to be specified is not very friendly

thumbsup
0
message-simple
6

How do you "return" an error with Booster?

Here's what I want to do: I'm simulating a bank account, with 2 commands, Withdraw and Deposit. These 2 commands trigger the events MoneyWithdrawn and MoneyDeposited respectively and these events are reduced by the BankAccount entity. How would I return an error when you attempt…

thumbsup
0
message-simple
2

✅ Running tests on the packages?

I'm trying to run the tests for the framework-provider-aws package with npm test but I get: I then noticed that there are very few dependencies in the package.json file (nyc not being one of them). What is the method for running the tests in the packages?

thumbsup
0
message-simple
7