Giter Site home page Giter Site logo

Error when no parameter exists about nestia HOT 4 CLOSED

samchon avatar samchon commented on July 19, 2024
Error when no parameter exists

from nestia.

Comments (4)

PrimeDominus avatar PrimeDominus commented on July 19, 2024

I've looked at https://github.com/samchon/encrypted-nestjs and I'm wondering why not just use the documented method for encryption coded into Nestia directly? https://docs.nestjs.com/security/encryption-and-hashing

I'm relatively new to NestJS, though I'm guessing Nestia would be more widely used if it doesn't have custom dependencies that give the impression they may not be maintained in the future.

from nestia.

PrimeDominus avatar PrimeDominus commented on July 19, 2024

Furthermore, another custom library https://www.npmjs.com/package/encrypted-fetcher is used as a further dependency, which in turn uses node-fetch. Why not code all this directly into Nestia using the official way? https://docs.nestjs.com/techniques/http-module

from nestia.

samchon avatar samchon commented on July 19, 2024

The example code you've pasted in (https://docs.nestjs.com/security/encryption-and-hashing) is just to explain how to encrypt and decrypt data. Therefore, encryption decorators like EncryptedBody() in the encrypted-nestjs is not natively supported by the NestJS.

Also, the way to encrypt & decrypt data in the encrypted-fetcher is not ultimately different with the explanation what you've pasted in.

from nestia.

samchon avatar samchon commented on July 19, 2024

And you told that using axios is the official way, however, I've different aspect about that. I think that fetch is much official feature within framework of the standardardization.

from nestia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.