Comments (4)
Was eager to use this change, but it looks like the npm package was last updated 5 months ago. @manekinekko could you create a new release?
from azure-database.
Yes, fixed on PR #32 . Apparently the npm package isn't updated yet. @manekinekko
from azure-database.
Ran into the same problem.... How I make the CatID
& CatName
dynamic for the below example?
import {
EntityPartitionKey,
EntityRowKey,
EntityString,
EntityIn32
} from '@nestjs/azure-database';
@EntityPartitionKey('CatID')
@EntityRowKey('CatName')
export class Cat {
@EntityString() name: string;
@EntityIn32() age: number;
}
from azure-database.
The contribution in PR #32 seems to be unusable for the purpose described here. The function passed to @EntityPartitionKey
is evaluated when the entity class is loaded, and not when an object is created.
Thus the target
the function receives, is always empty and doesn't enable access to the data stored in the entity.
The test case written for the contribution only works because default values are loaded even before the decorators.
@manekinekko
Can we please reopen this issue?
from azure-database.
Related Issues (20)
- Azure table : concurrent update strange behavior HOT 3
- Invalid Gitter Chatroom Link in the Badge is Invalid
- Action Required: Fix Renovate Configuration
- Add support for async module initialization HOT 1
- Te package no contains Cosmos DB library HOT 6
- Cannot find module '@nestjs/azure-database' or its corresponding type declarations. HOT 7
- Class 'AzureTableStorageService' incorrectly implements interface 'TableService' HOT 3
- Regular Expression Denial of Service (ReDoS) HOT 1
- Dependency Dashboard
- Cosmos DB Mongodb API HOT 1
- How can a Table Query be performed on Azure Table Storage HOT 1
- Connection to Cosmos Hangs HOT 1
- Batch operations
- CosmosDB Error on version 9+ HOT 13
- getModelToken should be exported
- azure-storage is deprecated HOT 3
- Migrate off `@azure/ms-rest-js`
- Disable DEBUG level logging in nestjs/azure-database
- strictNullChecks must be false
- Is there a plan to support hierarchical partition keys? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-database.